diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-14 23:20:43 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-14 23:20:43 +0000 |
commit | 469f5f251dc3acbb4c4fd12c597d57768119af4a (patch) | |
tree | cb1422a20842e698180520ed04bf7913bb271ee0 /libavcodec | |
parent | 811a0aa785569affda577888908c66526ee2d0d9 (diff) | |
download | ffmpeg-469f5f251dc3acbb4c4fd12c597d57768119af4a.tar.gz |
WORDS_BIGENDIAN must be checked with #ifdef
Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 62dea0f54e..9952809f5a 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; |