changeset 22092:acac2d8bc25f

Cosmetics
author reimar
date Sat, 03 Feb 2007 13:20:31 +0000
parents 035fd43fe5f1
children e897903bc8ec
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
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);