mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avcodec/huffyuvdec: use the correct height field
Fixes Ticket3395 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
61d59703c9
commit
469de4f583
@ -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…
Reference in New Issue
Block a user