avformat/takdec: Check for multiple streaminfo
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 2 Jul 2019 19:11:57 +0000 (21:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jul 2019 21:18:50 +0000 (23:18 +0200)
commitbb326795d13508c1d0ffc97cb5d75e49e1feca35
tree86bf3634cf9fa66dd8e7837f578cd54138531185
parentfff2bdc8b835158773a8360fc2d50a10ca0d38af
avformat/takdec: Check for multiple streaminfo

Fixes: memleak
Fixes: 15446/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5662875831500800

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/takdec.c