diff options
-rw-r--r-- | libavcodec/magicyuv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c index f13351e5b5..c7e2754c44 100644 --- a/libavcodec/magicyuv.c +++ b/libavcodec/magicyuv.c @@ -89,6 +89,7 @@ static int huff_build(HuffEntry he[], uint16_t codes_count[33], he[i].code = codes_count[he[i].len]; codes_count[he[i].len]++; } + ff_free_vlc(vlc); return init_vlc(vlc, FFMIN(max, 12), nb_elems, &he[0].len, sizeof(he[0]), sizeof(he[0].len), &he[0].code, sizeof(he[0]), sizeof(he[0].code), 0); |