Revision 29e35482 libavcodec/sunrast.c

View differences:

libavcodec/sunrast.c
120 120
            return -1;
121 121
        }
122 122

  
123
        av_log(avctx, AV_LOG_DEBUG, "maplength %u\n", len);
124

  
125 123
        ptr = p->data[1];
126 124
        for (x=0; x<len; x++, ptr+=4)
127 125
            *(uint32_t *)ptr = (buf[x]<<16) + (buf[len+x]<<8) + buf[len+len+x];

Also available in: Unified diff