diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-03 13:20:31 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-03 13:20:31 +0000 |
commit | d157c5e4d2a96fc41c3a3a94d64ccf3e00c4fc2d (patch) | |
tree | 2da311405eaec4528a9b92958c7ecd97534295e6 /libmpcodecs | |
parent | 5f37d3fbc60989d0315cc7fb7b7e790cd53dc6c3 (diff) | |
download | mpv-d157c5e4d2a96fc41c3a3a94d64ccf3e00c4fc2d.tar.bz2 mpv-d157c5e4d2a96fc41c3a3a94d64ccf3e00c4fc2d.tar.xz |
Cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22110 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 10 |
1 files 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); |