Mercurial > libavformat.hg
diff avformat.h @ 1185:13dc486b272b libavformat
Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever.
author | reimar |
---|---|
date | Sun, 23 Jul 2006 18:19:33 +0000 |
parents | 8b53c0f3e7ad |
children | e59b75051ded |
line wrap: on
line diff
--- a/avformat.h Thu Jul 20 10:22:07 2006 +0000 +++ b/avformat.h Sun Jul 23 18:19:33 2006 +0000 @@ -472,6 +472,7 @@ int av_add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, int size, int distance, int flags); int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts, int flags); +void av_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp); /* media file output */ int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap);