From 3ba1438dec553ab106aac8895ddebc01e42c5b71 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Oct 2004 22:05:43 +0000 Subject: use native timebase for seeking direction flag for seeking Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/nut.c') diff --git a/libavformat/nut.c b/libavformat/nut.c index 0a4e9c82bf..544036670b 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -1373,11 +1373,11 @@ av_log(s, AV_LOG_DEBUG, "syncing from %lld\n", nut->packet_start[2]+1); return AV_NOPTS_VALUE; } -static int nut_read_seek(AVFormatContext *s, int stream_index, int64_t target_ts){ +static int nut_read_seek(AVFormatContext *s, int stream_index, int64_t target_ts, int flags){ // NUTContext *nut = s->priv_data; int64_t pos; - if(av_seek_frame_binary(s, stream_index, target_ts) < 0) + if(av_seek_frame_binary(s, stream_index, target_ts, flags) < 0) return -1; pos= url_ftell(&s->pb); -- cgit v1.2.3