mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
This commit is contained in:

committed by
Michael Niedermayer

parent
e9e9139cee
commit
f59d8ff8cd
@ -81,7 +81,7 @@ static int thp_read_header(AVFormatContext *s,
|
||||
thp->next_frame = thp->first_frame;
|
||||
|
||||
/* Read the component structure. */
|
||||
url_fseek (pb, thp->compoff, SEEK_SET);
|
||||
avio_seek (pb, thp->compoff, SEEK_SET);
|
||||
thp->compcount = avio_rb32(pb);
|
||||
|
||||
/* Read the list of component types. */
|
||||
@ -149,7 +149,7 @@ static int thp_read_packet(AVFormatContext *s,
|
||||
if (thp->frame >= thp->framecnt)
|
||||
return AVERROR(EIO);
|
||||
|
||||
url_fseek(pb, thp->next_frame, SEEK_SET);
|
||||
avio_seek(pb, thp->next_frame, SEEK_SET);
|
||||
|
||||
/* Locate the next frame and read out its size. */
|
||||
thp->next_frame += thp->next_framesz;
|
||||
|
Reference in New Issue
Block a user