[FFmpeg-cvslog] r16608 - trunk/libavcodec/pcm.c
aurel
subversion
Thu Jan 15 00:20:43 CET 2009
Author: aurel
Date: Thu Jan 15 00:20:43 2009
New Revision: 16608
Log:
WORDS_BIGENDIAN must be checked with #ifdef
Modified:
trunk/libavcodec/pcm.c
Modified: trunk/libavcodec/pcm.c
==============================================================================
--- trunk/libavcodec/pcm.c Wed Jan 14 23:40:37 2009 (r16607)
+++ trunk/libavcodec/pcm.c Thu Jan 15 00:20:43 2009 (r16608)
@@ -214,7 +214,7 @@ static int pcm_encode_frame(AVCodecConte
*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(AVCodecConte
}
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;
More information about the ffmpeg-cvslog
mailing list