You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc/options: fix leaks in avcodec_free_context
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
@@ -170,6 +170,9 @@ void avcodec_free_context(AVCodecContext **pavctx)
|
|||||||
|
|
||||||
av_freep(&avctx->extradata);
|
av_freep(&avctx->extradata);
|
||||||
av_freep(&avctx->subtitle_header);
|
av_freep(&avctx->subtitle_header);
|
||||||
|
av_freep(&avctx->intra_matrix);
|
||||||
|
av_freep(&avctx->inter_matrix);
|
||||||
|
av_freep(&avctx->rc_override);
|
||||||
|
|
||||||
av_freep(pavctx);
|
av_freep(pavctx);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user