Mercurial > mplayer.hg
changeset 18821:ac61a42feb47
Avoid crash in uninit-without-config case
author | reimar |
---|---|
date | Mon, 26 Jun 2006 17:01:07 +0000 |
parents | 1ff5eeb87dce |
children | a48dead7424a |
files | libmpcodecs/vf_mcdeint.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_mcdeint.c Mon Jun 26 10:50:45 2006 +0000 +++ b/libmpcodecs/vf_mcdeint.c Mon Jun 26 17:01:07 2006 +0000 @@ -282,8 +282,10 @@ vf->priv->src[i]= NULL; } #endif + if (vf->priv->avctx_enc) { avcodec_close(vf->priv->avctx_enc); av_freep(&vf->priv->avctx_enc); + } free(vf->priv->outbuf); free(vf->priv);