Commit 469f5f25 authored by Aurelien Jacobs's avatar Aurelien Jacobs

WORDS_BIGENDIAN must be checked with #ifdef

Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 811a0aa7
......@@ -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;
......
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