diff options
author | Martin Storsjö <martin@martin.st> | 2015-02-24 12:32:17 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-02-24 23:07:22 +0200 |
commit | ec96a89c3e507cf0fb1f2b159b28a53f2bad9a74 (patch) | |
tree | 71cf3f51975e8e728dadb0f3d939d79e73956e29 /libavformat/rtpdec_dv.c | |
parent | ac0e54fda9305cc7d149007f5b512bb8619f7c78 (diff) | |
download | ffmpeg-ec96a89c3e507cf0fb1f2b159b28a53f2bad9a74.tar.gz |
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>
Diffstat (limited to 'libavformat/rtpdec_dv.c')
-rw-r--r-- | libavformat/rtpdec_dv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_dv.c b/libavformat/rtpdec_dv.c index 79a721817b..ce2d22de12 100644 --- a/libavformat/rtpdec_dv.c +++ b/libavformat/rtpdec_dv.c @@ -48,7 +48,7 @@ static av_cold void dv_free_context(PayloadContext *data) static av_cold int dv_sdp_parse_fmtp_config(AVFormatContext *s, AVStream *stream, PayloadContext *dv_data, - char *attr, char *value) + const char *attr, const char *value) { /* does the DV stream include audio? */ if (!strcmp(attr, "audio") && !strcmp(value, "bundled")) |