avformat/mov: reset drefs_count in close
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
158a80cc0b
commit
b0a8521383
@ -3348,6 +3348,9 @@ static int mov_read_close(AVFormatContext *s)
|
||||
av_freep(&sc->drefs[j].dir);
|
||||
}
|
||||
av_freep(&sc->drefs);
|
||||
|
||||
sc->drefs_count = 0;
|
||||
|
||||
if (!sc->pb_is_copied)
|
||||
avio_close(sc->pb);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user