changeset 8599:db00335551ca libavcodec

WORDS_BIGENDIAN must be checked with #ifdef
author aurel
date Wed, 14 Jan 2009 23:20:43 +0000
parents 6550218be3b7
children 5b5ac656cb50
files pcm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pcm.c	Wed Jan 14 21:41:05 2009 +0000
+++ b/pcm.c	Wed Jan 14 23:20:43 2009 +0000
@@ -214,7 +214,7 @@
             *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 @@
         }
         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;