changeset 24397:5ed2a051eb85

Fix for: dshow/mediatype.c:37: warning: suggest explicit braces to avoid ambiguous 'else'
author voroshil
date Mon, 10 Sep 2007 14:43:19 +0000
parents 8df63e0e011b
children d4674d333c9c
files loader/dshow/mediatype.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/mediatype.c	Mon Sep 10 14:29:44 2007 +0000
+++ b/loader/dshow/mediatype.c	Mon Sep 10 14:43:19 2007 +0000
@@ -34,9 +34,9 @@
     
    
     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++){