Commit 3b33df41 authored by calc's avatar calc

cvs commit for Mike bug #439 fix for WIN32 systems %I64d

svn path=/trunk/vorbis-tools/; revision=5308
parent b179ed28
...@@ -392,11 +392,19 @@ static void vorbis_end(stream_processor *stream) ...@@ -392,11 +392,19 @@ static void vorbis_end(stream_processor *stream)
seconds = (long)time - minutes*60; seconds = (long)time - minutes*60;
bitrate = inf->bytes*8 / time / 1000.0; bitrate = inf->bytes*8 / time / 1000.0;
#ifdef _WIN32
info(_("Vorbis stream %d:\n"
"\tTotal data length: %I64d bytes\n"
"\tPlayback length: %ldm:%02lds\n"
"\tAverage bitrate: %f kbps\n"),
stream->num,inf->bytes, minutes, seconds, bitrate);
#else
info(_("Vorbis stream %d:\n" info(_("Vorbis stream %d:\n"
"\tTotal data length: %lld bytes\n" "\tTotal data length: %lld bytes\n"
"\tPlayback length: %ldm:%02lds\n" "\tPlayback length: %ldm:%02lds\n"
"\tAverage bitrate: %f kbps\n"), "\tAverage bitrate: %f kbps\n"),
stream->num,inf->bytes, minutes, seconds, bitrate); stream->num,inf->bytes, minutes, seconds, bitrate);
#endif
vorbis_comment_clear(&inf->vc); vorbis_comment_clear(&inf->vc);
vorbis_info_clear(&inf->vi); vorbis_info_clear(&inf->vi);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment