diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-23 20:48:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-23 21:05:29 +0100 |
commit | 321b33876262ad332b3030eb6e3d0739540e4209 (patch) | |
tree | 7308283d8a522c55cd4751d23ebae126f71170b9 /libavcodec/avpacket.c | |
parent | 34e32d6464135a03da14d5b0aef1d42796939eae (diff) | |
download | ffmpeg-321b33876262ad332b3030eb6e3d0739540e4209.tar.gz |
avcodec/hnm4video: allocate frame only when theres a coded frame
Fixes memleak
Fixes: asan_heap-oob_e76bdf_2224_MOTHOO.HNM
This patch also removes the setting of palette_has_changed,
which was set on a frame that was never returned
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avpacket.c')
0 files changed, 0 insertions, 0 deletions