Mercurial > mplayer.hg
changeset 24395:51e96521303b
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'
author | voroshil |
---|---|
date | Mon, 10 Sep 2007 13:50:03 +0000 |
parents | efc631c41550 |
children | 8df63e0e011b |
files | loader/dshow/mediatype.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/dshow/mediatype.c Mon Sep 10 13:30:22 2007 +0000 +++ b/loader/dshow/mediatype.c Mon Sep 10 13:50:03 2007 +0000 @@ -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 @@ 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]);