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
5e2098d9
Commit
5e2098d9
authored
Jul 21, 2015
by
Zhang Rui
Committed by
Michael Niedermayer
Jul 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/async: fix interrupt_callback usage and return code
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
8fe00dd1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
async.c
libavformat/async.c
+5
-6
No files found.
libavformat/async.c
View file @
5e2098d9
...
@@ -75,13 +75,12 @@ static int async_interrupt_callback(void *arg)
...
@@ -75,13 +75,12 @@ static int async_interrupt_callback(void *arg)
{
{
URLContext
*
h
=
arg
;
URLContext
*
h
=
arg
;
Context
*
c
=
h
->
priv_data
;
Context
*
c
=
h
->
priv_data
;
int
ret
=
0
;
if
(
c
->
interrupt_callback
.
callback
)
{
if
(
c
->
abort_request
)
ret
=
c
->
interrupt_callback
.
callback
(
c
->
interrupt_callback
.
opaque
)
;
ret
urn
1
;
if
(
!
ret
)
return
ret
;
if
(
ff_check_interrupt
(
&
c
->
interrupt_callback
))
}
c
->
abort_request
=
1
;
return
c
->
abort_request
;
return
c
->
abort_request
;
}
}
...
...
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