Commit 469de4f5 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/huffyuvdec: use the correct height field

Fixes Ticket3395
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 61d59703
......@@ -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;
......
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