h264: Move slice_table clean out of frame_start
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Mar 2013 15:04:07 +0000 (16:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 15 Jan 2014 23:52:56 +0000 (00:52 +0100)
commit3f2efac0fec16de92dd110723d73694e3e63946f
tree21d1790d44c15dde765bde41b1549a921fc1980a
parentb9058f58bde97af4178c8cffa1bbdc85787de2ab
h264: Move slice_table clean out of frame_start

Fixes inconsistency ultimately leading to an out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 746016598d1885afd1fee976b6d315ed7eeefa68)

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