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

Michael Smith msmith at xiph.org
Thu Jul 18 23:26:55 PDT 2002



msmith      02/07/18 23:26:54

  Modified:    ogginfo  ogginfo2.c
  Log:
  Changes to follow spec - "unset" means <= 0, not < 0

Revision  Changes    Path
1.16      +3 -3      vorbis-tools/ogginfo/ogginfo2.c

Index: ogginfo2.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogginfo/ogginfo2.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ogginfo2.c	2002/07/18 09:27:02	1.15
+++ ogginfo2.c	2002/07/19 06:26:54	1.16
@@ -183,19 +183,19 @@
                 info(_("Channels: %d\n"), inf->vi.channels);
                 info(_("Rate: %ld\n\n"), inf->vi.rate);
 
-                if(inf->vi.bitrate_nominal >= 0)
+                if(inf->vi.bitrate_nominal > 0)
                     info(_("Nominal bitrate: %f kb/s\n"), 
                             (double)inf->vi.bitrate_nominal / 1000.0);
                 else
                     info(_("Nominal bitrate not set\n"));
 
-                if(inf->vi.bitrate_upper >= 0)
+                if(inf->vi.bitrate_upper > 0)
                     info(_("Upper bitrate: %f kb/s\n"), 
                             (double)inf->vi.bitrate_upper / 1000.0);
                 else
                     info(_("Upper bitrate not set\n"));
 
-                if(inf->vi.bitrate_lower >= 0)
+                if(inf->vi.bitrate_lower > 0)
                     info(_("Lower bitrate: %f kb/s\n"), 
                             (double)inf->vi.bitrate_lower / 1000.0);
                 else

<p><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