Revision 864a0742 libavcodec/rawdec.c

View differences:

libavcodec/rawdec.c
137 137
        buf= dst;
138 138
    }
139 139

  
140
    if(avctx->codec_tag == MKTAG('A', 'V', '1', 'x'))
141
        buf += buf_size - context->length;
142

  
140 143
    if(buf_size < context->length - (avctx->pix_fmt==PIX_FMT_PAL8 ? 256*4 : 0))
141 144
        return -1;
142 145

  

Also available in: Unified diff