summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_mpeg4.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-24 12:31:23 +0200
committerMartin Storsjö <martin@martin.st>2015-02-24 23:07:18 +0200
commitac0e54fda9305cc7d149007f5b512bb8619f7c78 (patch)
tree0642631c52d0bdbf66b18a66bb4eb68bee4a7f4c /libavformat/rtpdec_mpeg4.c
parent12251f997bbc0abb93be39c51021e6d404ca385f (diff)
rtpdec: Add const to string parameters in internal fmtp parsing functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_mpeg4.c')
-rw-r--r--libavformat/rtpdec_mpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c
index 4a0593b540..fe6b440011 100644
--- a/libavformat/rtpdec_mpeg4.c
+++ b/libavformat/rtpdec_mpeg4.c
@@ -98,7 +98,7 @@ static void free_context(PayloadContext *data)
av_free(data);
}
-static int parse_fmtp_config(AVCodecContext *codec, char *value)
+static int parse_fmtp_config(AVCodecContext *codec, const char *value)
{
/* decode the hexa encoded parameter */
int len = ff_hex_to_data(NULL, value);