From d157c5e4d2a96fc41c3a3a94d64ccf3e00c4fc2d Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 3 Feb 2007 13:20:31 +0000 Subject: Cosmetics git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22110 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 93ba5d660b..dfd215c986 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -432,12 +432,12 @@ static void uninit(sh_video_t *sh){ } 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); -- cgit v1.2.3