From a2faa9515167bf1537abdc4fa9caa88934171cdd Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 16 Oct 2011 15:03:30 +0200 Subject: lavf: make some seeking functions private Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf. --- libavformat/mpegts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/mpegts.c') diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index b7814e5..5668f54 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1768,7 +1768,7 @@ static int read_seek2(AVFormatContext *s, ts_adj = target_ts; stream_index_gen_search = stream_index; } - pos = av_gen_search(s, stream_index_gen_search, ts_adj, + pos = ff_gen_search(s, stream_index_gen_search, ts_adj, 0, INT64_MAX, -1, AV_NOPTS_VALUE, AV_NOPTS_VALUE, @@ -1816,7 +1816,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t target_ts, in uint8_t buf[TS_PACKET_SIZE]; int64_t pos; - if(av_seek_frame_binary(s, stream_index, target_ts, flags) < 0) + if (ff_seek_frame_binary(s, stream_index, target_ts, flags) < 0) return -1; pos= avio_tell(s->pb); -- cgit v1.1