]> git.sesse.net Git - ffmpeg/commit
avformat/matroskadec: Reuse AVIOContext
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 3 Dec 2019 17:09:10 +0000 (18:09 +0100)
committerJames Almer <jamrial@gmail.com>
Thu, 5 Dec 2019 02:11:37 +0000 (23:11 -0300)
commitd5274f86a838ae5f9d56f41c6ee520cce466bd83
treeec4fed5f74a3ecf0f6733eae45fe2cb545670ac8
parentdbe3be674459baf310d55eaaf85ac0fb2d89aaff
avformat/matroskadec: Reuse AVIOContext

When parsing EBML lacing, for every number read, a new AVIOContext has
been initialized (via ffio_init_context()) just for this number. This
has been changed: The context is kept now.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/matroskadec.c