From abb5ffc65daaf61d2cd7c7fa01f028154307ac63 Mon Sep 17 00:00:00 2001 From: voroshil Date: Mon, 10 Sep 2007 14:43:19 +0000 Subject: [PATCH] Fix for: dshow/mediatype.c:37: warning: suggest explicit braces to avoid ambiguous 'else' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24417 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dshow/mediatype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/dshow/mediatype.c b/loader/dshow/mediatype.c index a32b292af1..3ce6a9a066 100644 --- a/loader/dshow/mediatype.c +++ b/loader/dshow/mediatype.c @@ -34,9 +34,9 @@ void DisplayMediaType(const char * label,const AM_MEDIA_TYPE* pmt){ 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