Making the CELT bitrate default to "unlimited"
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Tue, 16 Aug 2011 13:12:14 +0000 (09:12 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Tue, 16 Aug 2011 13:12:14 +0000 (09:12 -0400)
libcelt/celt.c

index acb81ad..8a721ea 100644 (file)
@@ -262,7 +262,7 @@ CELTEncoder *celt_encoder_init_custom(CELTEncoder *st, const CELTMode *mode, int
    st->constrained_vbr = 1;
    st->clip = 1;
 
-   st->bitrate = 255000*channels;
+   st->bitrate = -1;
    st->vbr = 0;
    st->vbr_offset = 0;
    st->force_intra  = 0;