mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mlvdec: close any additional .Mxx files
Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8bd6837e51
commit
b3c0d010c3
|
@ -452,6 +452,10 @@ static int read_seek(AVFormatContext *avctx, int stream_index, int64_t timestamp
|
|||
static int read_close(AVFormatContext *s)
|
||||
{
|
||||
MlvContext *mlv = s->priv_data;
|
||||
int i;
|
||||
for (i = 0; i < 100; i++)
|
||||
if (mlv->pb[i])
|
||||
avio_close(mlv->pb[i]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue