ffmpeg: Fix stts_data memory allocation
authorXiaohan Wang <xhwang@chromium.org>
Tue, 13 Feb 2018 22:45:14 +0000 (14:45 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Mar 2018 01:39:21 +0000 (02:39 +0100)
commit3386be16d5131961f73c4227e9ddde4e3a5e39e3
treef79d35fa338a56830b227675e25cd8a03fa13d2b
parent00035a6b4a9fcb4a9756fd4a3a01a196575e0d35
ffmpeg: Fix stts_data memory allocation

In this loop, |i| is the "index". And the memory allocated should be at
least the current "count", which is |i + 1|.

BUG=801821

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c