Mercurial > mplayer.hg
changeset 31856:7b02012e9581
Add 'z' length modifier to %d printf format specifiers for size_t arguments.
libmpdemux/demux_avi.c:553: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t'
libmpdemux/demux_avi.c:553: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
author | diego |
---|---|
date | Fri, 06 Aug 2010 22:47:54 +0000 |
parents | cd32082a1a1e |
children | 7702d4effbbe |
files | libmpdemux/demux_avi.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_avi.c Fri Aug 06 22:37:55 2010 +0000 +++ b/libmpdemux/demux_avi.c Fri Aug 06 22:47:54 2010 +0000 @@ -550,7 +550,9 @@ asamples+=(len+priv->audio_block_size-1)/priv->audio_block_size; } } - mp_msg(MSGT_DEMUX,MSGL_V,"AVI video size=%"PRId64" (%u) audio size=%"PRId64" (%u)\n",vsize,vsamples,asize,asamples); + mp_msg(MSGT_DEMUX, MSGL_V, + "AVI video size=%"PRId64" (%zu) audio size=%"PRId64" (%zu)\n", + vsize, vsamples, asize, asamples); priv->numberofframes=vsamples; sh_video->i_bps=((float)vsize/(float)vsamples)*(float)sh_video->video.dwRate/(float)sh_video->video.dwScale; if(sh_audio) sh_audio->i_bps=((float)asize/(float)asamples)*(float)sh_audio->audio.dwRate/(float)sh_audio->audio.dwScale;