mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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 f5da453b06.
This commit is contained in:
parent
9fb293cfd8
commit
0dcac9c3f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue