movdec: Check count of stts/ctts elements instead of just the pointer.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 May 2012 17:28:09 +0000 (19:28 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 29 May 2012 17:56:07 +0000 (19:56 +0200)
commit5880d788734d9c4e2dc53c6cdec343ee978d3a3f
tree0581309aa3f23c7750cb0f99cf32e43d3862ae48
parent1b8741a6843f3f4667c81c2d63d3182858aa534f
movdec: Check count of stts/ctts elements instead of just the pointer.

Fixes overreading the array

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