aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rdt.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-02-10 02:54:42 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-02-11 20:03:33 +0100
commitdced1f6cdfe479965898bed3cb5219d2ddbb0ad9 (patch)
tree60a85705edf0fbb843a3fede4095c15d57e4e00d /libavformat/rdt.h
parentf2318aee8ca8df1c84092f7d6691a2d0df02c474 (diff)
downloadffmpeg-dced1f6cdfe479965898bed3cb5219d2ddbb0ad9.tar.gz
lavf/rtpdec: Constify several pointers.
Fixes two warnings: libavformat/rtpdec.c:155:20: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] libavformat/rtpdec.c:168:20: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r--libavformat/rdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.h b/libavformat/rdt.h
index 2480565688..67fb308421 100644
--- a/libavformat/rdt.h
+++ b/libavformat/rdt.h
@@ -41,7 +41,7 @@ typedef struct RDTDemuxContext RDTDemuxContext;
RDTDemuxContext *ff_rdt_parse_open(AVFormatContext *ic,
int first_stream_of_set_idx,
void *priv_data,
- RTPDynamicProtocolHandler *handler);
+ const RTPDynamicProtocolHandler *handler);
void ff_rdt_parse_close(RDTDemuxContext *s);
/**