Revision 438abdaa libavcodec/ra144.c

View differences:

libavcodec/ra144.c
315 315
    RA144Context *ractx = avctx->priv_data;
316 316
    GetBitContext gb;
317 317

  
318
    if (*data_size < 2*160)
319
        return -1;
320

  
318 321
    if(buf_size < 20) {
319 322
        av_log(avctx, AV_LOG_ERROR,
320 323
               "Frame too small (%d bytes). Truncated file?\n", buf_size);

Also available in: Unified diff