Browse Source

avformat/mlvdec: close any additional .Mxx files

Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Peter Ross Michael Niedermayer 11 years ago
parent
commit
b3c0d010c3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/mlvdec.c

+ 4
- 0
libavformat/mlvdec.c View File

@@ -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…
Cancel
Save