Commit 2e4b6627 authored by Michael Niedermayer's avatar Michael Niedermayer

mov: add av_dlog() to CTTS reading code like is already done in STTS.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7d23a65f
......@@ -1753,6 +1753,9 @@ static int mov_read_ctts(MOVContext *c, AVIOContext *pb, MOVAtom atom)
sc->ctts_data[i].count = count;
sc->ctts_data[i].duration= duration;
av_dlog(c->fc, "count=%d, duration=%d\n",
count, duration);
if (FFABS(duration) > (1<<28) && i+2<entries) {
av_log(c->fc, AV_LOG_WARNING, "CTTS invalid\n");
av_freep(&sc->ctts_data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment