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
73c1e3ba
Commit
73c1e3ba
authored
Apr 26, 2012
by
Matthieu Bouron
Committed by
Michael Niedermayer
Apr 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asrc_abuffer: return EAGAIN if no frame is available
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6b55aab0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
asrc_abuffer.c
libavfilter/asrc_abuffer.c
+2
-5
No files found.
libavfilter/asrc_abuffer.c
View file @
73c1e3ba
...
...
@@ -334,11 +334,8 @@ static int request_frame(AVFilterLink *outlink)
ABufferSourceContext
*
abuffer
=
outlink
->
src
->
priv
;
AVFilterBufferRef
*
samplesref
;
if
(
!
av_fifo_size
(
abuffer
->
fifo
))
{
av_log
(
outlink
->
src
,
AV_LOG_ERROR
,
"request_frame() called with no available frames!
\n
"
);
return
AVERROR
(
EINVAL
);
}
if
(
!
av_fifo_size
(
abuffer
->
fifo
))
return
AVERROR
(
EAGAIN
);
av_fifo_generic_read
(
abuffer
->
fifo
,
&
samplesref
,
sizeof
(
samplesref
),
NULL
);
avfilter_filter_samples
(
outlink
,
avfilter_ref_buffer
(
samplesref
,
~
0
));
...
...
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