diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-12-15 15:27:30 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-12-15 15:27:30 +0200 |
commit | 1598302be65c77c107330dc46fd0dabface3112d (patch) | |
tree | 462ad21d6437539f3e2cf7ad7d7581e0989fa090 /mplayer.c | |
parent | 8e77ab12b812106f929f349bf4ceb495989bb23b (diff) | |
download | mpv-1598302be65c77c107330dc46fd0dabface3112d.tar.bz2 mpv-1598302be65c77c107330dc46fd0dabface3112d.tar.xz |
Fix printf format strings with invalid '%lf' conversion
Some code used an invalid '%lf' conversion specification for double
arguments. Maybe they were written that way due to confusion with
scanf where doubles are indicated by '%lf'; however it is not a valid
printf format specifier. Change those cases to use '%f'.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3832,7 +3832,7 @@ if (mpctx->global_sub_size) { mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_AUDIO_RATE=%d\n", mpctx->sh_audio->samplerate); mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_AUDIO_NCH=%d\n", mpctx->sh_audio->channels); } - mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2lf\n", mpctx->timeline ? + mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2f\n", mpctx->timeline ? mpctx->timeline[mpctx->num_timeline_parts].start : demuxer_get_time_length(mpctx->demuxer)); mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_SEEKABLE=%d\n", |