Revision 63613fe6 libavcodec/ptx.c

View differences:

libavcodec/ptx.c
79 79
    stride = p->linesize[0];
80 80

  
81 81
    for (y=0; y<h; y++) {
82
#ifdef WORDS_BIGENDIAN
82
#if HAVE_BIGENDIAN
83 83
        unsigned int x;
84 84
        for (x=0; x<w*bytes_per_pixel; x+=bytes_per_pixel)
85 85
            AV_WN16(ptr+x, AV_RL16(buf+x));

Also available in: Unified diff