h264: check that execute_decode_slices() is not called too many times
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Jun 2014 00:05:18 +0000 (20:05 -0400)
commit7f33a24e824c6d20cb941e6b20c5382becfbc923
treec3d31cbef0e41b419f12e0818b2d67fa5de9d8a6
parent0f71a5df4bc913f17a53c7ac66d4957914fa1d3d
h264: check that execute_decode_slices() is not called too many times

Fixes invalid reads.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
libavcodec/h264.c