You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
avcodec/truemotion2: Don't check before freeing VLC
ff_vlc_free() is of course compatible with freeing a blank VLC. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -222,7 +222,6 @@ out:
|
|||||||
static void tm2_free_codes(TM2Codes *code)
|
static void tm2_free_codes(TM2Codes *code)
|
||||||
{
|
{
|
||||||
av_free(code->recode);
|
av_free(code->recode);
|
||||||
if (code->vlc.table)
|
|
||||||
ff_vlc_free(&code->vlc);
|
ff_vlc_free(&code->vlc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user