diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-04 19:57:36 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-07 11:03:39 -0500 |
commit | 76aa876e69cf78a40821e66dec0a1006e4eb23ec (patch) | |
tree | 48122de51aeb99266e25f78bc715296e7fe85d59 /libavformat/flvdec.c | |
parent | e51975392d85e72801193123945a35fb5221248f (diff) | |
download | ffmpeg-76aa876e69cf78a40821e66dec0a1006e4eb23ec.tar.gz |
avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 6113d951bf..7e02cdd3b4 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -373,7 +373,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) if(!url_is_streamed(s->pb) && (!s->duration || s->duration==AV_NOPTS_VALUE)){ int size; const int64_t pos= avio_tell(s->pb); - const int64_t fsize= url_fsize(s->pb); + const int64_t fsize= avio_size(s->pb); avio_seek(s->pb, fsize-4, SEEK_SET); size= avio_rb32(s->pb); avio_seek(s->pb, fsize-3-size, SEEK_SET); |