Ticket #3752: patchasfstarttime.diff
| File patchasfstarttime.diff, 451 bytes (added by , 10 years ago) |
|---|
-
libavformat/asfdec_f.c
diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c index be09a92..87ca52c 100644
a b static int asf_read_seek(AVFormatContext *s, int stream_index, 1657 1657 if (ret < 0) 1658 1658 asf->index_read = -1; 1659 1659 } 1660 pts -= s->start_time / 1000; 1660 1661 1661 1662 if (asf->index_read > 0 && st->index_entries) { 1662 1663 int index = av_index_search_timestamp(st, pts, flags);
