diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-30 13:39:09 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-24 11:28:53 +0100 |
commit | a6d741920f0ed1a73e664bd8705164526d814922 (patch) | |
tree | 5a57ac762ee3750783849e92f12dcf1a37b45e02 /libavformat/rdt.c | |
parent | 3567fab6e2a5d8a61aa4eff19431582ce48f3c44 (diff) | |
download | ffmpeg-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.c | 2 |
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, \ |