diff options
author | Carl Eugen Hoyos | 2018-02-10 02:54:42 +0100 |
---|---|---|
committer | Carl Eugen Hoyos | 2018-02-11 20:03:33 +0100 |
commit | dced1f6cdfe479965898bed3cb5219d2ddbb0ad9 (patch) | |
tree | 60a85705edf0fbb843a3fede4095c15d57e4e00d /libavformat/rdt.c | |
parent | f2318aee8ca8df1c84092f7d6691a2d0df02c474 (diff) |
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.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 31a32ffec3..60c36f09e6 100644 --- a/libavformat/rdt.c +++ b/libavformat/rdt.c @@ -53,7 +53,7 @@ struct RDTDemuxContext { RDTDemuxContext * ff_rdt_parse_open(AVFormatContext *ic, int first_stream_of_set_idx, - void *priv_data, RTPDynamicProtocolHandler *handler) + void *priv_data, const RTPDynamicProtocolHandler *handler) { RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext)); if (!s) |