[xiph-cvs] cvs commit: vorbis-tools/oggdec oggdec.1 oggdec.c

Michael Smith msmith at xiph.org
Sun Jul 21 07:40:05 PDT 2002



msmith      02/07/21 07:40:04

  Modified:    oggdec   oggdec.1 oggdec.c
  Log:
  Change -R usage to not have an option. This makes more sense and is more standard.

Revision  Changes    Path
1.2       +2 -2      vorbis-tools/oggdec/oggdec.1

Index: oggdec.1
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggdec/oggdec.1,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- oggdec.1	2002/07/04 09:01:22	1.1
+++ oggdec.1	2002/07/21 14:40:04	1.2
@@ -12,7 +12,7 @@
 ] [
 .B -e endianness
 ] [
-.B -R rawness
+.B -R
 ] [
 .B -s signedness
 ] [
@@ -50,7 +50,7 @@
 Bits per sample.  Valid values are 8 or 16.
 .IP "-e n, --endian=n"
 Set endianness for 16-bit output.  0 (default) is little-endian (Intel byte order).  1 is big-endian (sane byte order).
-.IP "-R n, --raw=n"
+.IP "-R, --raw"
 Output in raw format.  If not specified, writes WAV file (RIFF headers).
 .IP "-s n, --sign=n"
 Set signedness for output.  0 for unsigned, 1 (default) for signed.

<p><p>1.10      +2 -2      vorbis-tools/oggdec/oggdec.c

Index: oggdec.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggdec/oggdec.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- oggdec.c	2002/07/19 06:25:58	1.9
+++ oggdec.c	2002/07/21 14:40:04	1.10
@@ -26,7 +26,7 @@
     {"version", 0, 0, 'v'},
     {"bits", 1, 0, 'b'},
     {"endianness", 1, 0, 'e'},
-    {"raw", 1, 0, 'R'},
+    {"raw", 0, 0, 'R'},
     {"sign", 1, 0, 's'},
     {"output", 1, 0, 'o'},
     {NULL,0,0,0}
@@ -100,7 +100,7 @@
             case 'o':
                 outfilename = strdup(optarg);
             case 'R':
-                raw = atoi(optarg);
+                raw = 1;
                 break;
             default:
                 fprintf(stderr, "Internal error: Unrecognised argument\n");

<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