diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-12-10 22:48:19 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-12-12 16:10:14 +0100 |
commit | 46c0cbd5dc01196949105e49f2ded10aa85a6e39 (patch) | |
tree | 4f93b13d4e0217c32633b723f0d386a233a79588 /libavformat | |
parent | 6b45f05ef5b241fd1513702119af9c30056a0ac5 (diff) | |
download | ffmpeg-46c0cbd5dc01196949105e49f2ded10aa85a6e39.tar.gz |
rtsp: suppress a incompatible pointer types warning
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 70f8e2104e..b95be46f4f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -726,8 +726,8 @@ int ff_rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st) s->ctx_flags |= AVFMTCTX_NOHEADER; if (s->oformat && CONFIG_RTSP_MUXER) { - int ret = ff_rtp_chain_mux_open(&rtsp_st->transport_priv, s, st, - rtsp_st->rtp_handle, + int ret = ff_rtp_chain_mux_open((AVFormatContext **)&rtsp_st->transport_priv, + s, st, rtsp_st->rtp_handle, RTSP_TCP_MAX_PACKET_SIZE, rtsp_st->stream_index); /* Ownership of rtp_handle is passed to the rtp mux context */ |