avcodec/huffyuvdec: use the correct height field

Fixes Ticket3395

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/56/merge
Michael Niedermayer 11 years ago
parent 61d59703c9
commit 469de4f583
  1. 2
      libavcodec/huffyuvdec.c

@ -267,7 +267,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
memset(s->vlc, 0, 4 * sizeof(VLC));
s->interlaced = s->height > 288;
s->interlaced = avctx->height > 288;
s->bgr32 = 1;

Loading…
Cancel
Save