Revision 63613fe6 libavcodec/targa.c

View differences:

libavcodec/targa.c
199 199
            targa_decode_rle(avctx, s, buf, dst, avctx->width, avctx->height, stride, bpp);
200 200
        else{
201 201
            for(y = 0; y < s->height; y++){
202
#ifdef WORDS_BIGENDIAN
202
#if HAVE_BIGENDIAN
203 203
                if((s->bpp + 1) >> 3 == 2){
204 204
                    uint16_t *dst16 = (uint16_t*)dst;
205 205
                    for(x = 0; x < s->width; x++)

Also available in: Unified diff