Skip to content
Snippets Groups Projects
Commit b3c0d010 authored by Peter Ross's avatar Peter Ross Committed by Michael Niedermayer
Browse files

avformat/mlvdec: close any additional .Mxx files

parent 8bd6837e
No related branches found
No related tags found
No related merge requests found
...@@ -452,6 +452,10 @@ static int read_seek(AVFormatContext *avctx, int stream_index, int64_t timestamp ...@@ -452,6 +452,10 @@ static int read_seek(AVFormatContext *avctx, int stream_index, int64_t timestamp
static int read_close(AVFormatContext *s) static int read_close(AVFormatContext *s)
{ {
MlvContext *mlv = s->priv_data; MlvContext *mlv = s->priv_data;
int i;
for (i = 0; i < 100; i++)
if (mlv->pb[i])
avio_close(mlv->pb[i]);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment