[xiph-cvs] cvs commit: vorbis-tools/ogginfo ogginfo2.c

Chris Cheney calc at xiph.org
Thu Sep 4 00:15:15 PDT 2003



calc        03/09/04 03:15:15

  Modified:    ogginfo  ogginfo2.c
  Log:
  cvs commit for Mike bug #439 fix for WIN32 systems %I64d

Revision  Changes    Path
1.27      +8 -0      vorbis-tools/ogginfo/ogginfo2.c

Index: ogginfo2.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogginfo/ogginfo2.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ogginfo2.c	4 Sep 2003 06:53:02 -0000	1.26
+++ ogginfo2.c	4 Sep 2003 07:15:15 -0000	1.27
@@ -392,11 +392,19 @@
     seconds = (long)time - minutes*60;
     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"
            "\tTotal data length: %lld bytes\n"
            "\tPlayback length: %ldm:%02lds\n"
            "\tAverage bitrate: %f kbps\n"), 
             stream->num,inf->bytes, minutes, seconds, bitrate);
+#endif
 
     vorbis_comment_clear(&inf->vc);
     vorbis_info_clear(&inf->vi);

<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