summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_hevc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-24 12:32:17 +0200
committerMartin Storsjö <martin@martin.st>2015-02-24 23:07:22 +0200
commitec96a89c3e507cf0fb1f2b159b28a53f2bad9a74 (patch)
tree71cf3f51975e8e728dadb0f3d939d79e73956e29 /libavformat/rtpdec_hevc.c
parentac0e54fda9305cc7d149007f5b512bb8619f7c78 (diff)
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_hevc.c')
-rw-r--r--libavformat/rtpdec_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c
index 44cf1d218f..4ec9767b46 100644
--- a/libavformat/rtpdec_hevc.c
+++ b/libavformat/rtpdec_hevc.c
@@ -46,7 +46,7 @@ static const uint8_t start_sequence[] = { 0x00, 0x00, 0x00, 0x01 };
static av_cold int hevc_sdp_parse_fmtp_config(AVFormatContext *s,
AVStream *stream,
PayloadContext *hevc_data,
- char *attr, char *value)
+ const char *attr, const char *value)
{
/* profile-space: 0-3 */
/* profile-id: 0-31 */