[xiph-cvs] cvs commit: vorbis-tools/ogginfo ogginfo2.c
Chris Cheney
calc at xiph.org
Wed Sep 3 23:53:02 PDT 2003
calc 03/09/04 02:53:02
Modified: ogginfo ogginfo2.c
Log:
commit for Mike to fix bug #439
Revision Changes Path
1.26 +3 -3 vorbis-tools/ogginfo/ogginfo2.c
Index: ogginfo2.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogginfo/ogginfo2.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ogginfo2.c 3 Sep 2003 07:58:05 -0000 1.25
+++ ogginfo2.c 4 Sep 2003 06:53:02 -0000 1.26
@@ -366,7 +366,7 @@
warn(_("Warning: granulepos in stream %d decreases from %I64d to %I64d" ),
stream->num, inf->lastgranulepos, gp);
#else
- warn(_("Warning: granulepos in stream %d decreases from %Ld to %Ld" ),
+ warn(_("Warning: granulepos in stream %d decreases from %lld to %lld" ),
stream->num, inf->lastgranulepos, gp);
#endif
inf->lastgranulepos = gp;
@@ -393,7 +393,7 @@
bitrate = inf->bytes*8 / time / 1000.0;
info(_("Vorbis stream %d:\n"
- "\tTotal data length: %ld bytes\n"
+ "\tTotal data length: %lld bytes\n"
"\tPlayback length: %ldm:%02lds\n"
"\tAverage bitrate: %f kbps\n"),
stream->num,inf->bytes, minutes, seconds, bitrate);
@@ -595,7 +595,7 @@
#ifdef _WIN32
warn(_("Warning: Hole in data found at approximate offset %I64d bytes. Corrupted ogg.\n"), *written);
#else
- warn(_("Warning: Hole in data found at approximate offset %Ld bytes. Corrupted ogg.\n"), *written);
+ warn(_("Warning: Hole in data found at approximate offset %lld bytes. Corrupted ogg.\n"), *written);
#endif
buffer = ogg_sync_buffer(sync, CHUNK);
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list