Skip to content
Snippets Groups Projects
Commit 345cfd04 authored by Lukasz Marek's avatar Lukasz Marek
Browse files

lavc/options: fix leaks in avcodec_free_context

parent 3d086791
No related branches found
No related tags found
No related merge requests found
...@@ -170,6 +170,9 @@ void avcodec_free_context(AVCodecContext **pavctx) ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment