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

Segher Boessenkool segher at xiph.org
Fri Dec 21 04:46:07 PST 2001



segher      01/12/21 04:46:07

  Modified:    oggenc   encode.c
  Log:
  order of minimum/maximum bitrates was swapped.

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

Index: encode.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/encode.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- encode.c	2001/12/19 18:29:26	1.14
+++ encode.c	2001/12/21 12:46:06	1.15
@@ -63,9 +63,9 @@
         else
         {
                 if(vorbis_encode_init(&vi, opt->channels, opt->rate, 
-                    opt->min_bitrate>0?opt->min_bitrate*1000:-1,
+                    opt->max_bitrate>0?opt->max_bitrate*1000:-1,
                                     opt->bitrate*1000, 
-                    opt->max_bitrate>0?opt->max_bitrate*1000:-1))
+                    opt->min_bitrate>0?opt->min_bitrate*1000:-1))
                 {
                         fprintf(stderr, "Mode initialisation failed: invalid parameters for bitrate\n");
                         vorbis_info_clear(&vi);

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