avformat/mov: Fix memleaks for duplicate STCO/CO64/STSC atoms
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Nov 2014 17:16:15 +0000 (18:16 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 20 Dec 2014 10:47:02 +0000 (11:47 +0100)
commita058cbcfdf490aab3aa12b45511c7315ed1bd35b
tree52b51254932f19ec42fa6b68ab852c70a323b8ca
parent4afe2684d8f50b28ce6743c7ee999f3157c9857f
avformat/mov: Fix memleaks for duplicate STCO/CO64/STSC atoms

Also see [FFmpeg-devel] [PATCH] avformat/mov: strengthen some table allocations
which contains more fixes but is unfinished

Fixes: signal_sigabrt_7ffff6ac7bb9_3484_cov_1830000177_starfox2.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1b5d11240692025f036e945bc37968735679320a)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c