aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_latm.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_latm.c
parent12251f997bbc0abb93be39c51021e6d404ca385f (diff)
downloadffmpeg-ac0e54fda9305cc7d149007f5b512bb8619f7c78.tar.gz
rtpdec: Add const to string parameters in internal fmtp parsing functions
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_latm.c')
-rw-r--r--libavformat/rtpdec_latm.c2
1 files changed, 1 insertions, 1 deletions
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;