summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2019-05-02 15:00:02 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2019-05-03 10:18:53 +0530
commit6223d076e3d0b887282a3ac67213a6a1563b71df (patch)
tree1f1592877786e0979d8ca09934ac5b1108a50544 /libavformat/mov.c
parentb41d8ab2e6360d48c36f18cca68419f0e544a5a8 (diff)
avformat/mov: set AVFMT_SEEK_TO_PTS flag
Ever since 59ad504696, the demuxer expects its seek arg to be PTS and adjusts internally to search index by DTS.
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 d0347b2970..78f692872b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -8006,5 +8006,5 @@ AVInputFormat ff_mov_demuxer = {
.read_packet = mov_read_packet,
.read_close = mov_read_close,
.read_seek = mov_read_seek,
- .flags = AVFMT_NO_BYTE_SEEK,
+ .flags = AVFMT_NO_BYTE_SEEK | AVFMT_SEEK_TO_PTS,
};