aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv40vlc2.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-08 01:49:53 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-08 10:51:59 +0200
commit98060a198ef0bd213d0d0b029f8955fcd3be93d2 (patch)
tree23ac4b6f43fc79e0a6d2fce5a45cad2c8e6c0c84 /libavcodec/rv40vlc2.h
parent13bf797ced0b527fa770d4b29884a5b0b8f19898 (diff)
downloadffmpeg-98060a198ef0bd213d0d0b029f8955fcd3be93d2.tar.gz
avcodec/vc1dec: Fix memleak upon allocation error
ff_vc1_decode_init_alloc_tables() had one error path that forgot to free already allocated buffers; these would then be overwritten on the next allocation attempt (or they would just not be freed in case this happened during init, as the decoders for which it is used do not have the FF_CODEC_CAP_INIT_CLEANUP set). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv40vlc2.h')
0 files changed, 0 insertions, 0 deletions