aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flacenc.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
commit63613fe615160671b394a232c1a3736319a6a8ec (patch)
tree4e85211d5388b91b47facca7700512abdd36446d /libavcodec/flacenc.c
parent84c04e25196a59694abec3ae17af476994bc5ce8 (diff)
downloadffmpeg-63613fe615160671b394a232c1a3736319a6a8ec.tar.gz
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r--libavcodec/flacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 66e5bfafcf..164e0c0324 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -1224,7 +1224,7 @@ static void output_frame_footer(FlacEncodeContext *s)
static void update_md5_sum(FlacEncodeContext *s, int16_t *samples)
{
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
int i;
for(i = 0; i < s->frame.blocksize*s->channels; i++) {
int16_t smp = le2me_16(samples[i]);