From: Jiangjie Gao <[email protected]>
Signed-off-by: Jiangjie Gao <[email protected]>
---
libavformat/rtsp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 9a2933346e..29ee0b317f 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2510,8 +2510,9 @@ static int rtp_read_header(AVFormatContext *s)
if (!ff_network_init())
return AVERROR(EIO);
+ AVDictionary *opts = map_to_opts(rt);
ret = ffurl_open_whitelist(&in, s->url, AVIO_FLAG_READ,
- &s->interrupt_callback, NULL, s->protocol_whitelist,
s->protocol_blacklist, NULL);
+ &s->interrupt_callback, &opts, s->protocol_whitelist,
s->protocol_blacklist, NULL);
if (ret)
goto fail;
--
2.27.0.windows.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".