diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-12 04:46:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-12 04:49:08 +0200 |
commit | 20df02680c94df1dd74f2e69068cbf02cb98d290 (patch) | |
tree | 974ff3c798af1e69f895a0015918a1bc0759f14d /libavcodec/cook_parser.c | |
parent | bec077a1ab1fe19d8cb7a9cafd9731546d449c4b (diff) | |
download | ffmpeg-20df02680c94df1dd74f2e69068cbf02cb98d290.tar.gz |
avcodec/error_resilience: avoid pointer arithmetic with NULL
move the code after the existing NULL check
Fixes: signal_sigsegv_844d59_10_signal_sigsegv_a17bb7_366_mpegts_mpeg2video_mp2_dvbsub_topfield.rec
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cook_parser.c')
0 files changed, 0 insertions, 0 deletions