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
path: root/tools
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-05-07 15:45:18 +0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-05-08 05:20:22 +0400
commitce4dd367c2b9ffc2b079cde28dd724b94776376d (patch)
treed2e4cd06dcc192e18b68ee3728fd716f16443a9d /tools
parent017fa857754e15a91910f711c9d3c99d3f7d8752 (diff)
More work on variable frame size (getting rid of FRAMESIZE() )
Diffstat (limited to 'tools')
-rw-r--r--tools/celtdec.c3
-rw-r--r--tools/celtenc.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/celtdec.c b/tools/celtdec.c
index 191336b..b12b50a 100644
--- a/tools/celtdec.c
+++ b/tools/celtdec.c
@@ -322,7 +322,8 @@ static CELTDecoder *process_header(ogg_packet *op, celt_int32 enh_enabled, celt_
return NULL;
}
- celt_mode_info(*mode, CELT_GET_FRAME_SIZE, frame_size);
+ /*celt_mode_info(*mode, CELT_GET_FRAME_SIZE, frame_size);*/
+ *frame_size = header.frame_size;
*granule_frame_size = *frame_size;
if (!*rate)
diff --git a/tools/celtenc.c b/tools/celtenc.c
index 7123a39..8cf71ad 100644
--- a/tools/celtenc.c
+++ b/tools/celtenc.c
@@ -500,7 +500,7 @@ int main(int argc, char **argv)
snprintf(vendor_string, sizeof(vendor_string), "Encoded with CELT %s (bitstream: %d)\n",CELT_VERSION,bitstream);
comment_init(&comments, &comments_length, vendor_string);
- celt_mode_info(mode, CELT_GET_FRAME_SIZE, &frame_size);
+ /*celt_mode_info(mode, CELT_GET_FRAME_SIZE, &frame_size);*/
celt_header_init(&header, mode, chan);
header.nb_channels = chan;