Browse Source

mpegaudio: remove CONFIG_AUDIO_NONSHORT

This fake option cannot be enabled by normal means, and the
floating-point decoder should provide the higher quality this
option presumably was intended for.

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.8
Mans Rullgard 14 years ago
parent
commit
3a2e80ecbc
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      libavcodec/mpegaudio.h

+ 0
- 8
libavcodec/mpegaudio.h View File

@@ -35,8 +35,6 @@
#include "dsputil.h"
#include "dct.h"

#define CONFIG_AUDIO_NONSHORT 0

/* max frame size, in samples */
#define MPA_FRAME_SIZE 1152

@@ -73,12 +71,6 @@
#if CONFIG_FLOAT
typedef float OUT_INT;
#define OUT_FMT AV_SAMPLE_FMT_FLT
#elif CONFIG_MPEGAUDIO_HP && CONFIG_AUDIO_NONSHORT
typedef int32_t OUT_INT;
#define OUT_MAX INT32_MAX
#define OUT_MIN INT32_MIN
#define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 31)
#define OUT_FMT AV_SAMPLE_FMT_S32
#else
typedef int16_t OUT_INT;
#define OUT_MAX INT16_MAX


Loading…
Cancel
Save