[FFmpeg-cvslog] lavf/hls: do not transfer custom IO flag

Clément Bœsch git at videolan.org
Mon May 22 18:50:43 EEST 2017


ffmpeg | branch: master | Clément Bœsch <cboesch at gopro.com> | Mon May 22 17:31:32 2017 +0200| [ef01061225088c4945f5e309bc695ea5beb2a867] | committer: Clément Bœsch

lavf/hls: do not transfer custom IO flag

See 0dcac9c3f0f8f32009098edb704fac4b08bac951

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef01061225088c4945f5e309bc695ea5beb2a867
---

 libavformat/hls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index bac53a4350..0c7283d974 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1761,7 +1761,7 @@ static int hls_read_header(AVFormatContext *s)
         }
         pls->ctx->pb       = &pls->pb;
         pls->ctx->io_open  = nested_io_open;
-        pls->ctx->flags   |= s->flags;
+        pls->ctx->flags   |= s->flags & ~AVFMT_FLAG_CUSTOM_IO;
 
         if ((ret = ff_copy_whiteblacklists(pls->ctx, s)) < 0)
             goto fail;



More information about the ffmpeg-cvslog mailing list