avcodec/h264_slice: ignore SAR changes in slices after the first
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Feb 2015 02:34:48 +0000 (03:34 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Feb 2015 02:59:45 +0000 (03:59 +0100)
commit38d5241b7f36c1571a88517a0650caade16dd5f4
treee425550d7fcd1dd6a9523f5b5b3a074079625c12
parentf111831ed61103f9fa8fdda41473a23da016bdaa
avcodec/h264_slice: ignore SAR changes in slices after the first

Fixes race condition and null pointer dereference
Fixes: signal_sigsegv_1472ac3_468_cov_2915641226_CABACI3_Sony_B.jsv

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_slice.c