aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rdt.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-30 13:39:09 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-24 11:28:53 +0100
commita6d741920f0ed1a73e664bd8705164526d814922 (patch)
tree5a57ac762ee3750783849e92f12dcf1a37b45e02 /libavformat/rdt.c
parent3567fab6e2a5d8a61aa4eff19431582ce48f3c44 (diff)
downloadffmpeg-a6d741920f0ed1a73e664bd8705164526d814922.tar.gz
avformat/rtpdec: Constify RTPDynamicProtocolHandlers
Also constify the list of pointers to said RTPDynamicProtocolHandlers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index 60c36f09e6..e5824f6a48 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -554,7 +554,7 @@ rdt_close_context (PayloadContext *rdt)
}
#define RDT_HANDLER(n, s, t) \
-RTPDynamicProtocolHandler ff_rdt_ ## n ## _handler = { \
+const RTPDynamicProtocolHandler ff_rdt_ ## n ## _handler = { \
.enc_name = s, \
.codec_type = t, \
.codec_id = AV_CODEC_ID_NONE, \