avformat/mlvdec: Use avio_closep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
edeaf6f3a4
commit
d1d8f866b5
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ static int read_close(AVFormatContext *s)
|
|||
int i;
|
||||
for (i = 0; i < 100; i++)
|
||||
if (mlv->pb[i])
|
||||
avio_close(mlv->pb[i]);
|
||||
avio_closep(&mlv->pb[i]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue