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>
Sat, 30 Mar 2013 19:28:00 +0000 (20:28 +0100)
commit746016598d1885afd1fee976b6d315ed7eeefa68
tree26496786f0901220cffc0ab8bb4ef9ce239a05df
parent95c7cad70cd8b4a6fe773c2bd421b1206c629e34
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>
libavcodec/h264.c