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/mxfdec.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/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 76a8329766..c0386583bd 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -49,6 +49,7 @@ #include "libavutil/mathematics.h" #include "libavcodec/bytestream.h" #include "avformat.h" +#include "internal.h" #include "mxf.h" typedef struct { @@ -1020,7 +1021,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti sample_time = 0; seconds = av_rescale(sample_time, st->time_base.num, st->time_base.den); avio_seek(s->pb, (s->bit_rate * seconds) >> 3, SEEK_SET); - av_update_cur_dts(s, st, sample_time); + ff_update_cur_dts(s, st, sample_time); return 0; } |