projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811a0aa
)
WORDS_BIGENDIAN must be checked with #ifdef
author
Aurelien Jacobs
<aurel@gnuage.org>
Wed, 14 Jan 2009 23:20:43 +0000
(23:20 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Wed, 14 Jan 2009 23:20:43 +0000
(23:20 +0000)
Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm.c
b/libavcodec/pcm.c
index
62dea0f
..
9952809
100644
(file)
--- 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
+#if
def
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
+#if
def
WORDS_BIGENDIAN
case CODEC_ID_PCM_F64LE:
DECODE(int64_t, le64, src, samples, n, 0, 0)
break;