summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-15 15:27:30 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-15 15:27:30 +0200
commit1598302be65c77c107330dc46fd0dabface3112d (patch)
tree462ad21d6437539f3e2cf7ad7d7581e0989fa090 /mplayer.c
parent8e77ab12b812106f929f349bf4ceb495989bb23b (diff)
downloadmpv-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 73ee987227..4c505b9289 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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",