Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 22092:acac2d8bc25f
Cosmetics
author | reimar |
---|---|
date | Sat, 03 Feb 2007 13:20:31 +0000 |
parents | 035fd43fe5f1 |
children | f4f90f0f5d2b |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sat Feb 03 13:19:21 2007 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sat Feb 03 13:20:31 2007 +0000 @@ -432,12 +432,12 @@ } if (avctx) { - if (avctx && avctx->codec && avcodec_close(avctx) < 0) - mp_msg(MSGT_DECVIDEO,MSGL_ERR, MSGTR_CantCloseCodec); + if (avctx->codec && avcodec_close(avctx) < 0) + mp_msg(MSGT_DECVIDEO,MSGL_ERR, MSGTR_CantCloseCodec); - av_freep(&avctx->extradata); - av_freep(&avctx->palctrl); - av_freep(&avctx->slice_offset); + av_freep(&avctx->extradata); + av_freep(&avctx->palctrl); + av_freep(&avctx->slice_offset); } av_freep(&avctx);