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

voroshil subversion at mplayerhq.hu
Mon Sep 10 15:50:03 CEST 2007


Author: voroshil
Date: Mon Sep 10 15:50:03 2007
New Revision: 24415

Log:
Proper fix for:
dshow/mediatype.c:52: warning: implicit declaration of function 'printf'
dshow/mediatype.c:52: warning: incompatible implicit declaration of built-in function 'printf'
    

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 15:50:03 2007
@@ -20,7 +20,6 @@
  *     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  *
  */
-#include <stdio.h>
 #include "mediatype.h"
 #include "mp_msg.h"
 #include "wine/winerror.h"
@@ -44,7 +43,7 @@ void DisplayMediaType(const char * label
         Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"%02x ",(BYTE)((BYTE*)pmt)[i]);
         if((i+1)%8==0) Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"\n");
     }
-    if((i)%8!=0) printf("\n");
+    if((i)%8!=0) Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"\n");
     Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"-(Ptr:%p)--(%02d)--\n",pmt->pbFormat,pmt->cbFormat);
     for(i=0;i<pmt->cbFormat;i++){
         Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"%02x ",(BYTE)pmt->pbFormat[i]);



More information about the MPlayer-cvslog mailing list