diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-20 18:07:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-20 18:08:58 +0100 |
commit | 632fdec9f4eb80dc8301cb938bce4b470fed0c11 (patch) | |
tree | 8eeeb716ea39c623ecb38d55bcbc8505d4ceca29 /libavcodec/ratecontrol.h | |
parent | 34fe125f4bc8b6fba16140517c01424cba302499 (diff) | |
download | ffmpeg-632fdec9f4eb80dc8301cb938bce4b470fed0c11.tar.gz |
avformat/nistspheredec: initialize header_size to -1
Fixes use of uninitialized memory
This also avoids the need to check the scanf() return as the subsequent check catches it
Fixes: msan_uninit-mem_7f712e4dc173_7414_nist_ulaw.nist
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ratecontrol.h')
0 files changed, 0 insertions, 0 deletions