---
libavcodec/ac3enc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git libavcodec/ac3enc.c libavcodec/ac3enc.c
index 4db0241..38a26b2 100644
--- libavcodec/ac3enc.c
+++ libavcodec/ac3enc.c
@@ -106,9 +106,6 @@ static int16_t xsin1[128];
#define MDCT_NBITS 9
#define MDCT_SAMPLES (1 << MDCT_NBITS)
-/* new exponents are sent if their Norm 1 exceed this number */
-#define EXP_DIFF_THRESHOLD 1000
-
/** convert float in range [-1..1] to int16_t in range [-32768..32767] */
#define FIX15(a) (av_clip_int16(lrintf(a * (float)(1 << 15))))
@@ -351,6 +348,9 @@ static void calculate_exponents(AC3EncodeContext *s,
}
}
+/* new exponents are sent if their Norm 1 exceed this number */
+#define EXP_DIFF_THRESHOLD 1000
+
/* XXX: use another norm ? */
static int calc_exp_diff(uint8_t *exp1, uint8_t *exp2, int n)
{
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc