diff options
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r-- | libavcodec/targa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c index ba54161..3e7903a 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++) |