[MPlayer-cvslog] r22110 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Sat Feb 3 14:20:31 CET 2007


Author: reimar
Date: Sat Feb  3 14:20:31 2007
New Revision: 22110

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Log:
Cosmetics


Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	(original)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sat Feb  3 14:20:31 2007
@@ -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);



More information about the MPlayer-cvslog mailing list