summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-18 13:51:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-18 13:51:25 +0100
commit469de4f58317e121644c4cf9a2824ccbbf7763ca (patch)
tree61ef504ae25d67e5023e64b1151e57e0a83f7ad7 /libavcodec
parent61d59703c91869f4e5cdacd8d6be52f8b89d4ba4 (diff)
avcodec/huffyuvdec: use the correct height field
Fixes Ticket3395 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/huffyuvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
index 7a1579f681..0f6f22350f 100644
--- a/libavcodec/huffyuvdec.c
+++ b/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;