h264: reset current_slice on context reinit
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 18 Apr 2012 13:16:36 +0000 (15:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 18 Apr 2012 13:30:34 +0000 (15:30 +0200)
commit820109224142323f182c2917e3d8ddc34324b5df
tree1ba14a4d75050d7d5e9a48146bc2b9e4d3cc2234
parent9f39d3d1908dfb7764120a90cbf524e04e9ed199
h264: reset current_slice on context reinit

This fixes a null pointer dereference

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