summaryrefslogtreecommitdiff
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r--libavcodec/4xm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 2b88c899d0..89120aa8fb 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -697,6 +697,7 @@ static const uint8_t *read_huffman_tables(FourXContext *f,
len_tab[j] = len;
}
+ ff_free_vlc(&f->pre_vlc);
if (init_vlc(&f->pre_vlc, ACDC_VLC_BITS, 257, len_tab, 1, 1,
bits_tab, 4, 4, 0))
return NULL;