[MPlayer-cvslog] r24417 - trunk/loader/dshow/mediatype.c

voroshil subversion at mplayerhq.hu
Mon Sep 10 16:43:19 CEST 2007


Author: voroshil
Date: Mon Sep 10 16:43:19 2007
New Revision: 24417

Log:
Fix for:
dshow/mediatype.c:37: warning: suggest explicit braces to avoid ambiguous 'else'


Modified:
   trunk/loader/dshow/mediatype.c

Modified: trunk/loader/dshow/mediatype.c
==============================================================================
--- trunk/loader/dshow/mediatype.c	(original)
+++ trunk/loader/dshow/mediatype.c	Mon Sep 10 16:43:19 2007
@@ -34,9 +34,9 @@ void DisplayMediaType(const char * label
     
    
     Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"=======================\n");
-    if(label)
+    if(label){
         Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"AM_MEDIA_TYPE: %s\n",label);
-    else
+    }else
         Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"AM_MEDIA_TYPE:\n");
     Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"-(Ptr:%p)--------\n",pmt);
     for(i=0;i<sizeof(AM_MEDIA_TYPE);i++){



More information about the MPlayer-cvslog mailing list