diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-16 15:03:30 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-28 09:23:24 +0200 |
commit | a2faa9515167bf1537abdc4fa9caa88934171cdd (patch) | |
tree | eabdcd055e89cc202b82bf594ce9081638b1a7da /libavformat/oggdec.c | |
parent | ec6d743118282bbbc652372a7af44c6ec6f8048e (diff) | |
download | ffmpeg-a2faa9515167bf1537abdc4fa9caa88934171cdd.tar.gz |
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.
Diffstat (limited to 'libavformat/oggdec.c')
-rw-r--r-- | libavformat/oggdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 7fd50a5590..f7513cffd2 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -33,6 +33,7 @@ #include <stdio.h> #include "oggdec.h" #include "avformat.h" +#include "internal.h" #include "vorbiscomment.h" #define MAX_PAGE_SIZE 65307 @@ -637,7 +638,7 @@ static int ogg_read_seek(AVFormatContext *s, int stream_index, && !(flags & AVSEEK_FLAG_ANY)) os->keyframe_seek = 1; - ret = av_seek_frame_binary(s, stream_index, timestamp, flags); + ret = ff_seek_frame_binary(s, stream_index, timestamp, flags); os = ogg->streams + stream_index; if (ret < 0) os->keyframe_seek = 0; |