summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-14 07:57:12 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-14 07:57:12 +0000
commit0f6a659ddfbe155dc8a516b963357ab6e01a0960 (patch)
tree73b51e0a6c5955fc36336194edafae94ec74a729 /libavcodec/mpegaudiodec.c
parent576286ba818f16adae0fd774ebe1e63c58afddc1 (diff)
Replace #ifdef CONFIG_ preprocessor check by #if CONFIG_.
CONFIG_ changed semantics and is always defined now. Originally committed as revision 16598 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index cda2d0ae69..3ad2c667d2 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -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;