(This is not a leak as long as av_free() completely frees blank
packets.)
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavformat/moflex.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/moflex.c b/libavformat/moflex.c
index 234b0fb06e..67adebe5e0 100644
--- a/libavformat/moflex.c
+++ b/libavformat/moflex.c
@@ -383,4 +383,5 @@ const AVInputFormat ff_moflex_demuxer = {
.read_close = moflex_read_close,
.extensions = "moflex",
.flags = AVFMT_GENERIC_INDEX,
+ .flags_internal = FF_FMT_INIT_CLEANUP,
};
--
2.32.0
_______________________________________________
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".