[FFmpeg-cvslog] rtsp: kill a pointer type warning (void **) vs. (AVFormatContext **)
Michael Niedermayer
git at videolan.org
Sat Sep 22 04:57:33 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 22 04:45:12 2012 +0200| [00792322990188b1130ef2befd68ec1d51ab7365] | committer: Michael Niedermayer
rtsp: kill a pointer type warning (void **) vs. (AVFormatContext **)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=00792322990188b1130ef2befd68ec1d51ab7365
---
libavformat/rtsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index fb94277..780a28a 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -617,7 +617,7 @@ 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,
+ int ret = ff_rtp_chain_mux_open((AVFormatContext **)&rtsp_st->transport_priv, s, st,
rtsp_st->rtp_handle,
RTSP_TCP_MAX_PACKET_SIZE);
/* Ownership of rtp_handle is passed to the rtp mux context */
More information about the ffmpeg-cvslog
mailing list