From ac0e54fda9305cc7d149007f5b512bb8619f7c78 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 24 Feb 2015 12:31:23 +0200 Subject: rtpdec: Add const to string parameters in internal fmtp parsing functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/rtpdec_mpeg4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtpdec_mpeg4.c') 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); -- cgit v1.2.3