[FFmpeg-devel] [PATCH] lavf/tee: pass options to protocol.

Nicolas George george at nsup.org
Tue Jun 2 21:56:27 EEST 2020


Fix trac ticket #8705.

Signed-off-by: Nicolas George <george at nsup.org>
---
 libavformat/tee.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Not tested, I have no icecast server at hand. I will ask the reporter to
test.


diff --git a/libavformat/tee.c b/libavformat/tee.c
index f2b11fcb35..c5c59975e6 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -295,7 +295,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave)
             goto end;
     }
 
-    ret = ff_format_output_open(avf2, filename, NULL);
+    ret = ff_format_output_open(avf2, filename, &options);
     if (ret < 0) {
         av_log(avf, AV_LOG_ERROR, "Slave '%s': error opening: %s\n", slave,
                av_err2str(ret));
-- 
2.26.2



More information about the ffmpeg-devel mailing list