Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/flac_parser.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c
index 376ba2bcfc..7ff7683c2e 100644
--- a/libavcodec/flac_parser.c
+++ b/libavcodec/flac_parser.c
@@ -734,6 +734,7 @@ static void flac_parse_close(AVCodecParserContext *c)
av_free(curr);
curr = temp;
}
+ fpc->headers = NULL;
av_fifo_freep(&fpc->fifo_buf);
av_freep(&fpc->wrap_buf);
}
--
2.20.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".