diff options
author | Jean-Marc Valin <jean-marc.valin@octasic.com> | 2011-03-21 18:32:50 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@octasic.com> | 2011-03-21 18:32:50 +0300 |
commit | ff96b165feadf5c0bb5c75c3013d3447bd57298a (patch) | |
tree | d074ee4f37f7aa14d972aab65c0d2c37a0ecb8b1 /tools/celtdec.c | |
parent | d6bf19d22db8b4f758307cbb1666426254e22201 (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.c | 4 |
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); |