mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 19:40:07 +01:00
avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
e51975392d
commit
76aa876e69
@@ -33,7 +33,7 @@ int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int g
|
||||
AVIOContext *pb = avctx->pb;
|
||||
char buf[36];
|
||||
int datatype, filetype, t1, t2, nb_comments, flags;
|
||||
uint64_t start_pos = url_fsize(pb) - 128;
|
||||
uint64_t start_pos = avio_size(pb) - 128;
|
||||
|
||||
avio_seek(pb, start_pos, SEEK_SET);
|
||||
if (avio_read(pb, buf, 7) != 7)
|
||||
|
||||
Reference in New Issue
Block a user