From 63613fe615160671b394a232c1a3736319a6a8ec Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 26 Jul 2009 12:20:04 +0000 Subject: Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/targa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/targa.c') diff --git a/libavcodec/targa.c b/libavcodec/targa.c index ba541619bf..3e7903ae52 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -199,7 +199,7 @@ static int decode_frame(AVCodecContext *avctx, targa_decode_rle(avctx, s, buf, dst, avctx->width, avctx->height, stride, bpp); else{ for(y = 0; y < s->height; y++){ -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN if((s->bpp + 1) >> 3 == 2){ uint16_t *dst16 = (uint16_t*)dst; for(x = 0; x < s->width; x++) -- cgit v1.2.3