[FFmpeg-cvslog] update_initial_durations: use av_ts2str()

Michael Niedermayer git at videolan.org
Mon May 14 18:01:15 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May 14 17:51:05 2012 +0200| [381cc4b1e6e5e72b8e776f1f4913acfd056fc17f] | committer: Michael Niedermayer

update_initial_durations: use av_ts2str()

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

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

 libavformat/utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index a3b3895..d19e427 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -939,11 +939,11 @@ static void update_initial_durations(AVFormatContext *s, AVStream *st,
             }
         }
         if(pktl && pktl->pkt.dts != st->first_dts) {
-            av_log(s, AV_LOG_DEBUG, "first_dts %"PRIi64" not matching first dts %"PRIi64" in que\n", st->first_dts, pktl->pkt.dts);
+            av_log(s, AV_LOG_DEBUG, "first_dts %s not matching first dts %s in que\n", av_ts2str(st->first_dts), av_ts2str(pktl->pkt.dts));
             return;
         }
         if(!pktl) {
-            av_log(s, AV_LOG_DEBUG, "first_dts %"PRIi64" but no packet with dts in ques\n", st->first_dts);
+            av_log(s, AV_LOG_DEBUG, "first_dts %s but no packet with dts in ques\n", av_ts2str(st->first_dts));
             return;
         }
         pktl= s->parse_queue ? s->parse_queue : s->packet_buffer;



More information about the ffmpeg-cvslog mailing list