diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-02-12 22:21:06 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-02-14 01:14:35 +0100 |
commit | dc77e64f2d41a9a778b11afbfa8709e1ce483ef1 (patch) | |
tree | 0690ccf4286f25f560e906fcc39974feef6b5a22 /libavformat/rtpdec_g726.c | |
parent | 71f39de2a57efc8db1d607b09c162c3b806cd45d (diff) | |
download | ffmpeg-dc77e64f2d41a9a778b11afbfa8709e1ce483ef1.tar.gz |
lavf/rtpdec*: Constify all RTPDynamicProtocolHandler.
Reviewed-by: Muhammad Faiz
Diffstat (limited to 'libavformat/rtpdec_g726.c')
-rw-r--r-- | libavformat/rtpdec_g726.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_g726.c b/libavformat/rtpdec_g726.c index 2de09ac233..89afd586c2 100644 --- a/libavformat/rtpdec_g726.c +++ b/libavformat/rtpdec_g726.c @@ -35,13 +35,13 @@ static av_cold int g726_ ## bitrate ##_init(AVFormatContext *s, int st_index, \ return 0; \ } \ \ -RTPDynamicProtocolHandler ff_g726_ ## bitrate ## _dynamic_handler = { \ +const RTPDynamicProtocolHandler ff_g726_ ## bitrate ## _dynamic_handler = { \ .enc_name = "AAL2-G726-" #bitrate, \ .codec_type = AVMEDIA_TYPE_AUDIO, \ .codec_id = AV_CODEC_ID_ADPCM_G726, \ .init = g726_ ## bitrate ## _init, \ }; \ -RTPDynamicProtocolHandler ff_g726le_ ## bitrate ## _dynamic_handler = { \ +const RTPDynamicProtocolHandler ff_g726le_ ## bitrate ## _dynamic_handler = { \ .enc_name = "G726-" #bitrate, \ .codec_type = AVMEDIA_TYPE_AUDIO, \ .codec_id = AV_CODEC_ID_ADPCM_G726LE, \ |