Commit ae1726ea authored by reimar's avatar reimar

Use FFALIGN


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19039 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4a569576
......@@ -461,7 +461,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
{
LclDecContext * const c = avctx->priv_data;
unsigned int basesize = avctx->width * avctx->height;
unsigned int max_basesize = ((avctx->width + 3) & ~3) * ((avctx->height + 3) & ~3);
unsigned int max_basesize = FFALIGN(avctx->width, 4) * FFALIGN(avctx->height, 4);
unsigned int max_decomp_size;
c->pic.data[0] = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment