avcodec/huffyuvdec: use the correct height field

Fixes Ticket3395

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-02-18 13:51:25 +01:00
parent 61d59703c9
commit 469de4f583
1 changed files with 1 additions and 1 deletions

View File

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