Commit 0dcac9c3 authored by Clément Bœsch's avatar Clément Bœsch

lavf/concatdec: do not transfer custom IO flag

If the source is using a custom IO, setting this flag causes heavy leaks
since the segments will not have their avio context closed.

Regression since f5da453b.
parent 9fb293cf
......@@ -324,7 +324,7 @@ static int open_file(AVFormatContext *avf, unsigned fileno)
if (!cat->avf)
return AVERROR(ENOMEM);
cat->avf->flags |= avf->flags;
cat->avf->flags |= avf->flags & ~AVFMT_FLAG_CUSTOM_IO;
cat->avf->interrupt_callback = avf->interrupt_callback;
if ((ret = ff_copy_whiteblacklists(cat->avf, avf)) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment