Revision f005808b libavcodec/lcldec.c

View differences:

libavcodec/lcldec.c
461 461
{
462 462
    LclDecContext * const c = avctx->priv_data;
463 463
    unsigned int basesize = avctx->width * avctx->height;
464
    unsigned int max_basesize = ((avctx->width + 3) & ~3) * ((avctx->height + 3) & ~3);
464
    unsigned int max_basesize = FFALIGN(avctx->width, 4) * FFALIGN(avctx->height, 4);
465 465
    unsigned int max_decomp_size;
466 466

  
467 467
    c->pic.data[0] = NULL;

Also available in: Unified diff