*/
#include "avcodec.h"
+#include "bitstream.h"
#include "mpegaudio.h"
/* currently, cannot change these constants (need to modify
quantization stage) */
-#define FRAC_BITS 15
-#define WFRAC_BITS 14
#define MUL(a,b) (((int64_t)(a) * (int64_t)(b)) >> FRAC_BITS)
#define FIX(a) ((int)((a) * (1 << FRAC_BITS)))
break;
default:
assert(0); //cant happen
+ code = 0; /* kill warning */
}
#if 0
return 0;
}
+#ifdef CONFIG_MP2_ENCODER
AVCodec mp2_encoder = {
"mp2",
CODEC_TYPE_AUDIO,
MPA_encode_close,
NULL,
};
+#endif // CONFIG_MP2_ENCODER
#undef FIX