summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2008-06-11 19:54:17 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-06-11 19:54:17 +0000
commitde6a9a267303d93dd853b156ebb7caf7d9d9a287 (patch)
tree9fa346f87f79a1af6e24c76480695e95a8064153 /libavformat
parent927509e10b7d8a0a62339e3e194de87b92ef6709 (diff)
matroskadec: set cur_dts after seek
patch by elupus elupus _at_ ecce _dot_ se Originally committed as revision 13748 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index d6f6dcb707..819398d34a 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -3177,6 +3177,7 @@ matroska_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp,
matroska->skip_to_keyframe = !(flags & AVSEEK_FLAG_ANY);
matroska->skip_to_stream = st;
matroska->peek_id = 0;
+ av_update_cur_dts(s, st, st->index_entries[index].timestamp);
return 0;
}