avcodec/mjpegdec: Reinitialize IDCT on BPP changes
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Nov 2015 20:27:04 +0000 (21:27 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 11:40:49 +0000 (12:40 +0100)
commit5d9bee34f9ae5fae996defda0fd9ccd1ca2b1f9c
tree7b28aaa2300a6364d48b6111ecababebfc69afdc
parent2f89546333b53e626d710cde357f0d13ea450474
avcodec/mjpegdec: Reinitialize IDCT on BPP changes

Fixes misaligned access
Fixes: dc9262a469f6f315f74c087a7b3a7f35/signal_sigsegv_2e95bcd_9_9c0f9f4a9ba82aa9b3ab2b91ce4d5277.jpg

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit cc35f6f4768ffe57cc4fcfa56ecb89aee409e3d5)

Conflicts:

libavcodec/mjpegdec.c
(cherry picked from commit f82c4777ee7a319fe2aa36f413a61943313b4abc)
libavcodec/mjpegdec.c