Merge commit '50079a6aa9
'
* commit '50079a6aa9
': lavc: do not leak the internal frame if opening the codec fails Conflicts: libavcodec/utils.c See:8b285f03f7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
3328d105f7
1 changed files with 1 additions and 1 deletions
|
@ -1498,8 +1498,8 @@ free_and_end:
|
||||||
av_dict_free(&tmp);
|
av_dict_free(&tmp);
|
||||||
av_freep(&avctx->priv_data);
|
av_freep(&avctx->priv_data);
|
||||||
if (avctx->internal) {
|
if (avctx->internal) {
|
||||||
av_freep(&avctx->internal->pool);
|
|
||||||
av_frame_free(&avctx->internal->to_free);
|
av_frame_free(&avctx->internal->to_free);
|
||||||
|
av_freep(&avctx->internal->pool);
|
||||||
}
|
}
|
||||||
av_freep(&avctx->internal);
|
av_freep(&avctx->internal);
|
||||||
avctx->codec = NULL;
|
avctx->codec = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue