From 2e4b662787281033248fa48fc044b93b4ba41010 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 11 Aug 2012 23:27:27 +0200 Subject: [PATCH] mov: add av_dlog() to CTTS reading code like is already done in STTS. Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 06ea76a5da..6e196f31c1 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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+2fc, AV_LOG_WARNING, "CTTS invalid\n"); av_freep(&sc->ctts_data); -- 2.11.0