aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-11 23:27:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-11 23:27:27 +0200
commit2e4b662787281033248fa48fc044b93b4ba41010 (patch)
tree22cd4359379a0db1038d52a1fdcc90e11220acaf /libavformat/mov.c
parent7d23a65f0d2ad51ee9e380f7fe7bee4c9445b22e (diff)
downloadffmpeg-2e4b662787281033248fa48fc044b93b4ba41010.tar.gz
mov: add av_dlog() to CTTS reading code like is already done in STTS.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 3 insertions, 0 deletions
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+2<entries) {
av_log(c->fc, AV_LOG_WARNING, "CTTS invalid\n");
av_freep(&sc->ctts_data);