Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@octasic.com>2011-03-21 18:32:50 +0300
committerJean-Marc Valin <jean-marc.valin@octasic.com>2011-03-21 18:32:50 +0300
commitff96b165feadf5c0bb5c75c3013d3447bd57298a (patch)
treed074ee4f37f7aa14d972aab65c0d2c37a0ecb8b1 /tools/celtdec.c
parentd6bf19d22db8b4f758307cbb1666426254e22201 (diff)
Removes the celt_mode_info() call.
Adds a CELT_GET_LOOKAHEAD() ctl() call instead. Other uses of celt_mode_info() should not be needed anymore.
Diffstat (limited to 'tools/celtdec.c')
-rw-r--r--tools/celtdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/celtdec.c b/tools/celtdec.c
index 5edbd48..30cc87d 100644
--- a/tools/celtdec.c
+++ b/tools/celtdec.c
@@ -304,8 +304,8 @@ static CELTDecoder *process_header(ogg_packet *op, celt_int32 enh_enabled, celt_
return NULL;
}
-
- celt_mode_info(*mode, CELT_GET_BITSTREAM_VERSION, &bitstream);
+ /* FIXME: Set that to zero when we freeze */
+ bitstream = 0x80001000;
if (bitstream!=header.version_id)
fprintf(stderr, "WARNING: Input was encoded with a CELT bitstream version %d. This decoder uses %d. Output will probably be corrupted.\n",header.version_id,bitstream);