diff targa.c @ 9985:266bf83f634d libavcodec

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
author mru
date Sun, 26 Jul 2009 12:20:04 +0000
parents 8f56bd47d2c8
children 9a577b684548
line wrap: on
line diff
--- a/targa.c	Fri Jul 24 21:28:44 2009 +0000
+++ b/targa.c	Sun Jul 26 12:20:04 2009 +0000
@@ -199,7 +199,7 @@
             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++)