diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index d48c1e1df2..e759d1ed8e 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -1218,7 +1218,7 @@ static int decode_end(AVCodecContext *avctx) common_end(s); av_freep(&s->bitstream_buffer); - for(i=0; i<3; i++){ + for(i=0; i<6; i++){ free_vlc(&s->vlc[i]); }