Commit 1159c828 authored by aurel's avatar aurel

WORDS_BIGENDIAN must be checked with #ifdef

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16608 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent af78a5f4
...@@ -214,7 +214,7 @@ static int pcm_encode_frame(AVCodecContext *avctx, ...@@ -214,7 +214,7 @@ static int pcm_encode_frame(AVCodecContext *avctx,
*dst++ = v - 128; *dst++ = v - 128;
} }
break; break;
#if WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
case CODEC_ID_PCM_F64LE: case CODEC_ID_PCM_F64LE:
ENCODE(int64_t, le64, samples, dst, n, 0, 0) ENCODE(int64_t, le64, samples, dst, n, 0, 0)
break; break;
...@@ -417,7 +417,7 @@ static int pcm_decode_frame(AVCodecContext *avctx, ...@@ -417,7 +417,7 @@ static int pcm_decode_frame(AVCodecContext *avctx,
} }
samples= (short*)dstu8; samples= (short*)dstu8;
break; break;
#if WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
case CODEC_ID_PCM_F64LE: case CODEC_ID_PCM_F64LE:
DECODE(int64_t, le64, src, samples, n, 0, 0) DECODE(int64_t, le64, src, samples, n, 0, 0)
break; break;
......
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