aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_asf.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-02-12 22:21:06 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-02-14 01:14:35 +0100
commitdc77e64f2d41a9a778b11afbfa8709e1ce483ef1 (patch)
tree0690ccf4286f25f560e906fcc39974feef6b5a22 /libavformat/rtpdec_asf.c
parent71f39de2a57efc8db1d607b09c162c3b806cd45d (diff)
downloadffmpeg-dc77e64f2d41a9a778b11afbfa8709e1ce483ef1.tar.gz
lavf/rtpdec*: Constify all RTPDynamicProtocolHandler.
Reviewed-by: Muhammad Faiz
Diffstat (limited to 'libavformat/rtpdec_asf.c')
-rw-r--r--libavformat/rtpdec_asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 09f214a71c..54ffef6876 100644
--- a/libavformat/rtpdec_asf.c
+++ b/libavformat/rtpdec_asf.c
@@ -300,7 +300,7 @@ static void asfrtp_close_context(PayloadContext *asf)
}
#define RTP_ASF_HANDLER(n, s, t) \
-RTPDynamicProtocolHandler ff_ms_rtp_ ## n ## _handler = { \
+const RTPDynamicProtocolHandler ff_ms_rtp_ ## n ## _handler = { \
.enc_name = s, \
.codec_type = t, \
.codec_id = AV_CODEC_ID_NONE, \