Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f3c47e41
Commit
f3c47e41
authored
Nov 13, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename remaining url_fsize to avio_size.
parent
53d70a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
bintext.c
libavformat/bintext.c
+5
-5
No files found.
libavformat/bintext.c
View file @
f3c47e41
...
...
@@ -62,7 +62,7 @@ static int next_tag_read(AVFormatContext *avctx, uint64_t *fsize)
AVIOContext
*
pb
=
avctx
->
pb
;
char
buf
[
36
];
int
len
;
uint64_t
start_pos
=
url_f
size
(
pb
)
-
256
;
uint64_t
start_pos
=
avio_
size
(
pb
)
-
256
;
avio_seek
(
pb
,
start_pos
,
SEEK_SET
);
if
(
avio_read
(
pb
,
buf
,
sizeof
(
next_magic
))
!=
sizeof
(
next_magic
))
...
...
@@ -142,7 +142,7 @@ static int bintext_read_header(AVFormatContext *s,
if
(
!
url_is_streamed
(
pb
))
{
int
got_width
=
0
;
bin
->
fsize
=
url_f
size
(
pb
);
bin
->
fsize
=
avio_
size
(
pb
);
if
(
ff_sauce_read
(
s
,
&
bin
->
fsize
,
&
got_width
,
0
)
<
0
)
next_tag_read
(
s
,
&
bin
->
fsize
);
if
(
!
ap
->
width
)
...
...
@@ -201,7 +201,7 @@ static int xbin_read_header(AVFormatContext *s,
return
AVERROR
(
EIO
);
if
(
!
url_is_streamed
(
pb
))
{
bin
->
fsize
=
url_f
size
(
pb
)
-
9
-
st
->
codec
->
extradata_size
;
bin
->
fsize
=
avio_
size
(
pb
)
-
9
-
st
->
codec
->
extradata_size
;
ff_sauce_read
(
s
,
&
bin
->
fsize
,
NULL
,
0
);
avio_seek
(
pb
,
9
+
st
->
codec
->
extradata_size
,
SEEK_SET
);
}
...
...
@@ -243,7 +243,7 @@ static int adf_read_header(AVFormatContext *s,
if
(
!
url_is_streamed
(
pb
))
{
int
got_width
=
0
;
bin
->
fsize
=
url_f
size
(
pb
)
-
1
-
192
-
4096
;
bin
->
fsize
=
avio_
size
(
pb
)
-
1
-
192
-
4096
;
st
->
codec
->
width
=
80
<<
3
;
ff_sauce_read
(
s
,
&
bin
->
fsize
,
&
got_width
,
0
);
if
(
!
ap
->
height
)
...
...
@@ -298,7 +298,7 @@ static int idf_read_header(AVFormatContext *s,
if
(
avio_read
(
pb
,
st
->
codec
->
extradata
+
2
,
48
)
<
0
)
return
AVERROR
(
EIO
);
bin
->
fsize
=
url_f
size
(
pb
)
-
12
-
4096
-
48
;
bin
->
fsize
=
avio_
size
(
pb
)
-
12
-
4096
-
48
;
ff_sauce_read
(
s
,
&
bin
->
fsize
,
&
got_width
,
0
);
if
(
!
ap
->
height
)
calculate_height
(
st
->
codec
,
bin
->
fsize
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment