diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 5527fed958..366d8aefc1 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -222,8 +222,7 @@ out: static void tm2_free_codes(TM2Codes *code) { av_free(code->recode); - if (code->vlc.table) - ff_vlc_free(&code->vlc); + ff_vlc_free(&code->vlc); } static inline int tm2_get_token(GetBitContext *gb, TM2Codes *code)