mirror of https://git.ffmpeg.org/ffmpeg.git
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));
|
memset(s->vlc, 0, 4 * sizeof(VLC));
|
||||||
|
|
||||||
s->interlaced = s->height > 288;
|
s->interlaced = avctx->height > 288;
|
||||||
|
|
||||||
s->bgr32 = 1;
|
s->bgr32 = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue