summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2022-03-29 12:50:52 +0800
committerZhao Zhili <zhilizhao@tencent.com>2022-04-27 21:00:17 +0800
commit43afd8c681a168a7ad332a4aed52fa393b56e08f (patch)
treeee4bd08cb1a90519214b56ccab004c763a280450 /libavformat/mov.c
parent7795f045a06fe95c3af95f70928088443747c85d (diff)
avformat/mov: log the right variable
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
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