diff --git a/libavformat/mov.c b/libavformat/mov.c index 2899cfca91..3bf6dcc971 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2637,9 +2637,11 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom) if ((uint64_t)edit_count*12+8 > atom.size) return AVERROR_INVALIDDATA; + av_dlog(c->fc, "track[%i].edit_count = %i\n", c->fc->nb_streams-1, edit_count); for (i=0; iempty_duration = duration; edit_start_index = 1; @@ -2655,13 +2657,15 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom) sc->start_time = time; else unsupported = 1; + + av_dlog(c->fc, "duration=%"PRId64" time=%"PRId64" rate=%f\n", + duration, time, rate / 65536.0); } if (unsupported) av_log(c->fc, AV_LOG_WARNING, "multiple edit list entries, " "a/v desync might occur, patch welcome\n"); - av_dlog(c->fc, "track[%i].edit_count = %i\n", c->fc->nb_streams-1, edit_count); return 0; }