You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/mov: reset drefs_count in close
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
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[j].dir);
|
||||||
}
|
}
|
||||||
av_freep(&sc->drefs);
|
av_freep(&sc->drefs);
|
||||||
|
|
||||||
|
sc->drefs_count = 0;
|
||||||
|
|
||||||
if (!sc->pb_is_copied)
|
if (!sc->pb_is_copied)
|
||||||
avio_close(sc->pb);
|
avio_close(sc->pb);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user