comparison mpegaudioenc.c @ 8595:2f476018b4ac libavcodec

Fix mpeg audio regression test failure
author mru
date Wed, 14 Jan 2009 09:26:07 +0000
parents 85ab7655ad4d
children 04423b2f6e0b
comparison
equal deleted inserted replaced
8594:c5349ca95c08 8595:2f476018b4ac
24 * The simplest mpeg audio layer 2 encoder. 24 * The simplest mpeg audio layer 2 encoder.
25 */ 25 */
26 26
27 #include "avcodec.h" 27 #include "avcodec.h"
28 #include "bitstream.h" 28 #include "bitstream.h"
29
30 #undef CONFIG_MPEGAUDIO_HP
31 #define CONFIG_MPEGAUDIO_HP 0
29 #include "mpegaudio.h" 32 #include "mpegaudio.h"
30 33
31 /* currently, cannot change these constants (need to modify 34 /* currently, cannot change these constants (need to modify
32 quantization stage) */ 35 quantization stage) */
33 #define MUL(a,b) (((int64_t)(a) * (int64_t)(b)) >> FRAC_BITS) 36 #define MUL(a,b) (((int64_t)(a) * (int64_t)(b)) >> FRAC_BITS)