From 469f5f251dc3acbb4c4fd12c597d57768119af4a Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 14 Jan 2009 23:20:43 +0000 Subject: [PATCH] WORDS_BIGENDIAN must be checked with #ifdef Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 62dea0f..9952809 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -214,7 +214,7 @@ static int pcm_encode_frame(AVCodecContext *avctx, *dst++ = v - 128; } break; -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN case CODEC_ID_PCM_F64LE: ENCODE(int64_t, le64, samples, dst, n, 0, 0) break; @@ -417,7 +417,7 @@ static int pcm_decode_frame(AVCodecContext *avctx, } samples= (short*)dstu8; break; -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN case CODEC_ID_PCM_F64LE: DECODE(int64_t, le64, src, samples, n, 0, 0) break; -- 2.7.4