diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-07-23 18:19:33 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-07-23 18:19:33 +0000 |
commit | 22ffac707e52ce58c0bd71857fe1353f453f78e0 (patch) | |
tree | e7714e1b6d4894d2a0d779de2e55cd9a70970be0 /libavformat/avformat.h | |
parent | 8dfe90941a83659e8563a9c9db792fddec0811c8 (diff) | |
download | ffmpeg-22ffac707e52ce58c0bd71857fe1353f453f78e0.tar.gz |
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.
Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index df87339e8b..8fec18deee 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -472,6 +472,7 @@ int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags); 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); |