Skip to content

Commit e1f8462

Browse files
committed
Minor cleanup -- nothing to see here
1 parent 05291fd commit e1f8462

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

celt/celt_decoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ void compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig *X,
264264
int B;
265265
int N;
266266
int shift;
267-
const int overlap = OVERLAP(mode);
267+
const int overlap = mode->overlap;
268268

269269
if (shortBlocks)
270270
{

celt/celt_encoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ int patch_transient_decision(opus_val16 *newE, opus_val16 *oldE, int nbEBands,
416416
static void compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig * OPUS_RESTRICT in,
417417
celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample)
418418
{
419-
const int overlap = OVERLAP(mode);
419+
const int overlap = mode->overlap;
420420
int N;
421421
int B;
422422
int shift;

celt/modes.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@
3939

4040
#define MAX_PERIOD 1024
4141

42-
#ifndef OVERLAP
43-
#define OVERLAP(mode) ((mode)->overlap)
44-
#endif
45-
46-
#ifndef FRAMESIZE
47-
#define FRAMESIZE(mode) ((mode)->mdctSize)
48-
#endif
49-
5042
typedef struct {
5143
int size;
5244
const opus_int16 *index;

0 commit comments

Comments
 (0)