[FFmpeg-cvslog] mov: add av_dlog() to CTTS reading code like is already done in STTS.

Michael Niedermayer git at videolan.org
Sun Aug 12 01:31:02 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 11 23:27:27 2012 +0200| [2e4b662787281033248fa48fc044b93b4ba41010] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2e4b662787281033248fa48fc044b93b4ba41010
---

 libavformat/mov.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 06ea76a..6e196f3 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);



More information about the ffmpeg-cvslog mailing list