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
73a52874
Commit
73a52874
authored
Sep 14, 2011
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/utils: replace deprecated url_ferror.
parent
86af9628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
utils.c
libavformat/utils.c
+4
-4
No files found.
libavformat/utils.c
View file @
73a52874
...
...
@@ -3359,8 +3359,8 @@ int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt){
if
(
ret
<
0
)
return
ret
;
if
(
url_ferror
(
s
->
pb
)
)
return
url_ferror
(
s
->
pb
)
;
if
(
s
->
pb
&&
s
->
pb
->
error
)
return
s
->
pb
->
error
;
}
}
...
...
@@ -3384,7 +3384,7 @@ int av_write_trailer(AVFormatContext *s)
if
(
ret
<
0
)
goto
fail
;
if
(
url_ferror
(
s
->
pb
)
)
if
(
s
->
pb
&&
s
->
pb
->
error
)
goto
fail
;
}
...
...
@@ -3392,7 +3392,7 @@ int av_write_trailer(AVFormatContext *s)
ret
=
s
->
oformat
->
write_trailer
(
s
);
fail
:
if
(
ret
==
0
)
ret
=
url_ferror
(
s
->
pb
)
;
ret
=
s
->
pb
?
s
->
pb
->
error
:
0
;
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
av_freep
(
&
s
->
streams
[
i
]
->
priv_data
);
av_freep
(
&
s
->
streams
[
i
]
->
index_entries
);
...
...
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