Commit 2246b969 authored by diego's avatar diego

Replace #ifdef CONFIG_ preprocessor check by #if CONFIG_.

CONFIG_ changed semantics and is always defined now.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16598 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c7246a74
......@@ -51,7 +51,7 @@
#define MP3_MASK 0xFFFE0CCF
#ifdef CONFIG_MPEGAUDIO_HP
#if CONFIG_MPEGAUDIO_HP
#define FRAC_BITS 23 /* fractional bits for sb_samples and dct */
#define WFRAC_BITS 16 /* fractional bits for window */
#else
......@@ -63,7 +63,7 @@
#define FIX(a) ((int)((a) * FRAC_ONE))
#if defined(CONFIG_MPEGAUDIO_HP) && defined(CONFIG_AUDIO_NONSHORT)
#if CONFIG_MPEGAUDIO_HP && CONFIG_AUDIO_NONSHORT
typedef int32_t OUT_INT;
#define OUT_MAX INT32_MAX
#define OUT_MIN INT32_MIN
......
......@@ -316,7 +316,7 @@ static int decode_init(AVCodecContext * avctx)
s->avctx = avctx;
#if defined(CONFIG_MPEGAUDIO_HP) && defined(CONFIG_AUDIO_NONSHORT)
#if CONFIG_MPEGAUDIO_HP && CONFIG_AUDIO_NONSHORT
avctx->sample_fmt= SAMPLE_FMT_S32;
#else
avctx->sample_fmt= SAMPLE_FMT_S16;
......
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