Skip to content

Commit 89f88a1

Browse files
committed
add support for io_open2
1 parent 1fd9577 commit 89f88a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libavformat/imfdec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ static int open_track_resource_context(AVFormatContext *s,
344344

345345
track_resource->ctx->io_open = s->io_open;
346346
track_resource->ctx->io_close = s->io_close;
347+
track_resource->ctx->io_close2 = s->io_close2;
347348
track_resource->ctx->flags |= s->flags & ~AVFMT_FLAG_CUSTOM_IO;
348349

349350
if ((ret = ff_copy_whiteblacklists(track_resource->ctx, s)) < 0)

0 commit comments

Comments
 (0)