summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-22 04:45:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-22 04:45:12 +0200
commit00792322990188b1130ef2befd68ec1d51ab7365 (patch)
tree8a4f6842cb5b6fe78a30e03e0798381852aa618f /libavformat/rtsp.c
parent8d45c001a8e92a6fee768a7e7bcc1bfe09120838 (diff)
rtsp: kill a pointer type warning (void **) vs. (AVFormatContext **)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index fb94277c09..780a28aa0b 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 */