History

lavc: avoid leaking AVCodecContext.chroma_intra_matrix

Anton Khirnov committed 2 years ago

Commit 198a7781 parent 106131b1 file · +1 −0Browse files

Unified · Split

libavcodec/options.c+1−0
@@ -173,6 +173,7 @@ void avcodec_free_context(AVCodecContext **pavctx) · 172 unmodified lines
173 av_freep(&avctx->extradata);173 av_freep(&avctx->extradata);
174 av_freep(&avctx->subtitle_header);174 av_freep(&avctx->subtitle_header);
175 av_freep(&avctx->intra_matrix);175 av_freep(&avctx->intra_matrix);
176 av_freep(&avctx->chroma_intra_matrix);
176 av_freep(&avctx->inter_matrix);177 av_freep(&avctx->inter_matrix);
177 av_freep(&avctx->rc_override);178 av_freep(&avctx->rc_override);
178 av_channel_layout_uninit(&avctx->ch_layout);179 av_channel_layout_uninit(&avctx->ch_layout);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t