avcodec/h264: Only reinit quant tables if a new PPS is allowed
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2015 19:49:07 +0000 (20:49 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2015 20:21:22 +0000 (21:21 +0100)
commitc23a0e77dd492d6c794f89dbff3a438c95745e70
tree3e777f9e8146217fd7a8015bf5e41b99f45a4c4c
parentf34aca8a1612be6b474534902039814836cba259
avcodec/h264: Only reinit quant tables if a new PPS is allowed

Fixes null pointer dereference
Fixes: signal_sigsegv_3042097_3007_cov_1741463594_non_monotone_timestamps1.mkv

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