Browse Source

Use FFALIGN

Originally committed as revision 19039 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 16 years ago
parent
commit
f005808bf2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/lcldec.c

+ 1
- 1
libavcodec/lcldec.c View File

@@ -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;


Loading…
Cancel
Save