This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 88eb772900b727e0b8ac2ee7e24a3e2b9eed3789
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Feb 27 23:32:24 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Fri Mar 6 03:37:19 2026 +0100

    avformat/rtsp: Pass blacklist
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/rtsp.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index aaad565c2b..edb3142b3c 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -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);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to