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_latm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtpdec_latm.c') diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c index 2da0fbfbe0..813f41b2a2 100644 --- a/libavformat/rtpdec_latm.c +++ b/libavformat/rtpdec_latm.c @@ -96,7 +96,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data, return data->pos < data->len; } -static int parse_fmtp_config(AVStream *st, char *value) +static int parse_fmtp_config(AVStream *st, const char *value) { int len = ff_hex_to_data(NULL, value), i, ret = 0; GetBitContext gb; -- cgit v1.2.3