mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Merge commit 'e9bfff1cc66c85b91b262c41e8aa5e8685606225'
* commit 'e9bfff1cc66c85b91b262c41e8aa5e8685606225':
lavc: free buffer_frame/pkt on avcodec_open2() failure
This commit is a noop, see 27adf9f9cd
.
Only reordered to reduce diff.
Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
822f1a7913
@ -1728,9 +1728,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
av_dict_free(&tmp);
|
||||
av_freep(&avctx->priv_data);
|
||||
if (avctx->internal) {
|
||||
av_packet_free(&avctx->internal->buffer_pkt);
|
||||
av_frame_free(&avctx->internal->buffer_frame);
|
||||
av_frame_free(&avctx->internal->to_free);
|
||||
av_frame_free(&avctx->internal->buffer_frame);
|
||||
av_packet_free(&avctx->internal->buffer_pkt);
|
||||
av_freep(&avctx->internal->pool);
|
||||
}
|
||||
av_freep(&avctx->internal);
|
||||
|
Loading…
Reference in New Issue
Block a user