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)
committerSean McGovern <gseanmcg@gmail.com>
Mon, 14 Apr 2014 20:55:38 +0000 (16:55 -0400)
commit7e513d85e80d730718695d09fcaf0295ae24699e
treeb7ba6c892343447db522c8447f556798bf8d6e6c
parentb6a0f5cde808d84626f07b11c381cc6ef0954940
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
(cherry picked from commit 9eef9eb3014b2ed9c3ff4aac510a9f04edb555cf)
libavcodec/h264.c