[FFmpeg-cvslog] avformat/mov: log the right variable

Zhao Zhili git at videolan.org
Wed Apr 27 16:01:16 EEST 2022


ffmpeg | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Tue Mar 29 12:50:52 2022 +0800| [43afd8c681a168a7ad332a4aed52fa393b56e08f] | committer: Zhao Zhili

avformat/mov: log the right variable

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

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

 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9fc6595507..0f63d997fc 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -5025,7 +5025,7 @@ static int mov_read_trun(MOVContext *c, AVIOContext *pb, MOVAtom atom)
                 // pts = frag_stream_info->sidx_pts;
                 dts = frag_stream_info->sidx_pts - sc->time_offset;
                 av_log(c->fc, AV_LOG_DEBUG, "found sidx time %"PRId64
-                        ", using it for pts\n", pts);
+                        ", using it for dts\n", frag_stream_info->sidx_pts);
             } else {
                 dts = sc->track_end - sc->time_offset;
                 av_log(c->fc, AV_LOG_DEBUG, "found track end time %"PRId64



More information about the ffmpeg-cvslog mailing list