Mercurial > mplayer.hg
diff mplayer.c @ 32352:76f94c00a69f
1000l, %lf is not valid format string for printf (only for scanf) and actually
breaks on Windows. Fix all occurences.
Fixes bug 1810.
author | reimar |
---|---|
date | Mon, 04 Oct 2010 06:40:32 +0000 |
parents | eff60552602b |
children | 9a5340bb1f69 |
line wrap: on
line diff
--- a/mplayer.c Sun Oct 03 20:49:50 2010 +0000 +++ b/mplayer.c Mon Oct 04 06:40:32 2010 +0000 @@ -582,10 +582,10 @@ start_pts = video_start_pts; } if (start_pts != MP_NOPTS_VALUE) - mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_START_TIME=%.2lf\n", start_pts); + mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_START_TIME=%.2f\n", start_pts); else mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_START_TIME=unknown\n"); - mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2lf\n", demuxer_get_time_length(mpctx->demuxer)); + mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2f\n", demuxer_get_time_length(mpctx->demuxer)); mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_SEEKABLE=%d\n", mpctx->stream->seek && (!mpctx->demuxer || mpctx->demuxer->seekable)); if (mpctx->demuxer) {