diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-11-14 01:34:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-11-14 01:34:36 +0000 |
commit | 89ddd2a9a5c64f2fbf02b5f5ca68cf7db1d762f6 (patch) | |
tree | 94c26da05836c68a4787a46d17a894cc93aee911 /libavformat/avformat.h | |
parent | 2ce92289933a4f6db7aa20e95029a9874aef13aa (diff) | |
download | ffmpeg-89ddd2a9a5c64f2fbf02b5f5ca68cf7db1d762f6.tar.gz |
split av_seek_frame_binary() so the code becomes idependant of AVInputFormat and AVIndex
Originally committed as revision 7035 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 5ea7a5bc27..5dc41d2735 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -445,6 +445,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); +int64_t av_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, int64_t pos_min, int64_t pos_max, int64_t pos_limit, int64_t ts_min, int64_t ts_max, int flags, int64_t *ts_ret, int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t )); /* media file output */ int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap); |