diff mbox series

[FFmpeg-devel,1/2] avformat/mov: log the right variable

Message ID tencent_BA8B9DE606D082E6E6A7DCAA82933C5C5806@qq.com
State New
Headers show
Series [FFmpeg-devel,1/2] avformat/mov: log the right variable | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Zhao Zhili March 4, 2022, 5:26 p.m. UTC
---
 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5e26267810..52caa6a891 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4863,7 +4863,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