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

Michael Smith msmith at xiph.org
Tue Jun 18 07:15:10 PDT 2002



msmith      02/06/18 07:15:09

  Modified:    oggenc   oggenc.c
  Log:
  Make managed usage without --managed error out for -m and -M as well.

Revision  Changes    Path
1.57      +2 -2      vorbis-tools/oggenc/oggenc.c

Index: oggenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/oggenc.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- oggenc.c	2002/06/08 07:44:39	1.56
+++ oggenc.c	2002/06/18 14:15:07	1.57
@@ -646,7 +646,7 @@
                         case 'm':
                 if(!opt->managed) {
                     print_deprecated_message();
-                    opt->managed = 1;
+                    exit(1);
                 }
 
                                 if(sscanf(optarg, "%d", &opt->min_bitrate)
@@ -658,7 +658,7 @@
                         case 'M':
                 if(!opt->managed) {
                     print_deprecated_message();
-                    opt->managed = 1;
+                    exit(1);
                 }
 
                                 if(sscanf(optarg, "%d", &opt->max_bitrate)

<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