aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-12 09:37:10 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-12 19:17:05 +0200
commitff1ec0c3f8fce10e92010f82f7e859e08f9c742a (patch)
tree8eb19b5d1e5fd63807620ce4cdd7e166ad513b6b /libavformat/flvdec.c
parentc5e03cebd31e5bd2b6851d09a60280403a57faf0 (diff)
downloadffmpeg-ff1ec0c3f8fce10e92010f82f7e859e08f9c742a.tar.gz
avio: undeprecate av_url_read_fseek/fpause under nicer names
It seems their replacements won't be ready anytime soon.
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 62d25c8802..94159be3c4 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -529,7 +529,7 @@ leave:
static int flv_read_seek(AVFormatContext *s, int stream_index,
int64_t ts, int flags)
{
- return ffio_read_seek(s->pb, stream_index, ts, flags);
+ return avio_seek_time(s->pb, stream_index, ts, flags);
}
#if 0 /* don't know enough to implement this */
@@ -550,7 +550,7 @@ static int flv_read_seek2(AVFormatContext *s, int stream_index,
ts = av_rescale_rnd(ts, 1000, AV_TIME_BASE,
flags & AVSEEK_FLAG_BACKWARD ? AV_ROUND_DOWN : AV_ROUND_UP);
}
- ret = ffio_read_seek(s->pb, stream_index, ts, flags);
+ ret = avio_seek_time(s->pb, stream_index, ts, flags);
}
if (ret == AVERROR(ENOSYS))