diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-02-10 02:54:42 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-02-11 20:03:33 +0100 |
commit | dced1f6cdfe479965898bed3cb5219d2ddbb0ad9 (patch) | |
tree | 60a85705edf0fbb843a3fede4095c15d57e4e00d /libavformat/rtsp.h | |
parent | f2318aee8ca8df1c84092f7d6691a2d0df02c474 (diff) | |
download | ffmpeg-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/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 36fdae492b..9a7f366b39 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -458,7 +458,7 @@ typedef struct RTSPStream { /** The following are used for dynamic protocols (rtpdec_*.c/rdt.c) */ //@{ /** handler structure */ - RTPDynamicProtocolHandler *dynamic_handler; + const RTPDynamicProtocolHandler *dynamic_handler; /** private data associated with the dynamic protocol */ PayloadContext *dynamic_protocol_context; |