[FFmpeg-cvslog] avcodec/huffyuvdec: use the correct height field

Michael Niedermayer git at videolan.org
Tue Feb 18 13:59:04 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb 18 13:51:25 2014 +0100| [469de4f58317e121644c4cf9a2824ccbbf7763ca] | committer: Michael Niedermayer

avcodec/huffyuvdec: use the correct height field

Fixes Ticket3395

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=469de4f58317e121644c4cf9a2824ccbbf7763ca
---

 libavcodec/huffyuvdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
index 7a1579f..0f6f223 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;
 



More information about the ffmpeg-cvslog mailing list