Commit afc660ab authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5d6a990c'

* commit '5d6a990c':
  mpegaudioenc: Remove broken integer-only quantization code path

Conflicts:
	libavcodec/mpegaudioenc.c

Mostly not merged, the integer code works fine.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents f9b89b61 5d6a990c
......@@ -33,8 +33,13 @@
#define FRAC_BITS 15 /* fractional bits for sb_samples and dct */
#define WFRAC_BITS 14 /* fractional bits for window */
/* define it to use floats in quantization (I don't like floats !) */
#define USE_FLOATS
#include "mpegaudio.h"
#include "mpegaudiodsp.h"
#include "mpegaudiodata.h"
#include "mpegaudiotab.h"
/* currently, cannot change these constants (need to modify
quantization stage) */
......@@ -61,12 +66,6 @@ typedef struct MpegAudioContext {
const unsigned char *alloc_table;
} MpegAudioContext;
/* define it to use floats in quantization (I don't like floats !) */
#define USE_FLOATS
#include "mpegaudiodata.h"
#include "mpegaudiotab.h"
static av_cold int MPA_encode_init(AVCodecContext *avctx)
{
MpegAudioContext *s = avctx->priv_data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment