[FFmpeg-cvslog] lavf/rtpdec_mpeg4: Constify a function parameter.

Carl Eugen Hoyos git at videolan.org
Sat Feb 11 17:20:23 EET 2017


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Feb 11 16:18:28 2017 +0100| [ed491db3e506c0e1ee6b9281ce898c4a79298e0f] | committer: Carl Eugen Hoyos

lavf/rtpdec_mpeg4: Constify a function parameter.

Silences an "assignment discards ‘const’ qualifier" warning.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed491db3e506c0e1ee6b9281ce898c4a79298e0f
---

 libavformat/rtpdec_mpeg4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c
index 304699e..068d378 100644
--- a/libavformat/rtpdec_mpeg4.c
+++ b/libavformat/rtpdec_mpeg4.c
@@ -97,7 +97,7 @@ static void close_context(PayloadContext *data)
     av_freep(&data->mode);
 }
 
-static int parse_fmtp_config(AVCodecParameters *par, char *value)
+static int parse_fmtp_config(AVCodecParameters *par, const char *value)
 {
     /* decode the hexa encoded parameter */
     int len = ff_hex_to_data(NULL, value);



More information about the ffmpeg-cvslog mailing list