rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions

This makes it clear that the individual parsing functions can't
touch the parsed out value.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö
2015-02-24 12:32:17 +02:00
parent ac0e54fda9
commit ec96a89c3e
10 changed files with 11 additions and 11 deletions

View File

@@ -844,7 +844,7 @@ int ff_parse_fmtp(AVFormatContext *s,
int (*parse_fmtp)(AVFormatContext *s,
AVStream *stream,
PayloadContext *data,
char *attr, char *value))
const char *attr, const char *value))
{
char attr[256];
char *value;