avcodec/h264: Be more strict on rejecting pps/sps changes
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Feb 2015 14:09:54 +0000 (15:09 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Feb 2015 16:10:36 +0000 (17:10 +0100)
commit756d85dc144aaf124e8f37cf878d6d9237f29f0e
tree00195eed531b6c3fad4670883e7451cebc3307a1
parenteeab3e1b204582b35944bfc3ee1c28b593f083a1
avcodec/h264: Be more strict on rejecting pps/sps changes

Fixes race condition
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>
(cherry picked from commit 6fafc62b0bd0e206deb77a7aabbf3a370ad80789)

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