Mercurial > libavformat.hg
diff avformat.h @ 1496:7e288adde245 libavformat
split av_seek_frame_binary() so the code becomes idependant of AVInputFormat and AVIndex
| author | michael |
|---|---|
| date | Tue, 14 Nov 2006 01:34:36 +0000 |
| parents | fa7d68133f17 |
| children | 65b7b3ff4ed7 |
line wrap: on
line diff
--- a/avformat.h Tue Nov 14 01:05:31 2006 +0000 +++ b/avformat.h Tue Nov 14 01:34:36 2006 +0000 @@ -445,6 +445,7 @@ 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);
