avformat/rtsp: Pass blacklist

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2026-02-27 23:32:24 +01:00
parent 2326bc5f69
commit 88eb772900
+9
View File
@@ -1997,6 +1997,15 @@ redirect:
}
}
if (!rt->rtsp_hd->protocol_blacklist && s->protocol_blacklist) {
rt->rtsp_hd->protocol_blacklist = av_strdup(s->protocol_blacklist);
if (!rt->rtsp_hd->protocol_blacklist) {
av_dict_free(&options);
err = AVERROR(ENOMEM);
goto fail;
}
}
/* complete the connection */
if (ffurl_connect(rt->rtsp_hd, &options)) {
av_dict_free(&options);