[FFmpeg-cvslog] lavc: avoid leaking AVCodecContext.chroma_intra_matrix
Anton Khirnov
git at videolan.org
Thu Mar 28 09:54:49 EET 2024
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Mar 23 14:40:36 2024 +0100| [198a7788e759ee8bb8d07e6cd45aee5f2998bdf5] | committer: Anton Khirnov
lavc: avoid leaking AVCodecContext.chroma_intra_matrix
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=198a7788e759ee8bb8d07e6cd45aee5f2998bdf5
---
libavcodec/options.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/options.c b/libavcodec/options.c
index 5169f2e476..0c3b40a186 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -173,6 +173,7 @@ void avcodec_free_context(AVCodecContext **pavctx)
av_freep(&avctx->extradata);
av_freep(&avctx->subtitle_header);
av_freep(&avctx->intra_matrix);
+ av_freep(&avctx->chroma_intra_matrix);
av_freep(&avctx->inter_matrix);
av_freep(&avctx->rc_override);
av_channel_layout_uninit(&avctx->ch_layout);
More information about the ffmpeg-cvslog
mailing list