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
7635242a
Commit
7635242a
authored
Aug 25, 2015
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/vf_idet: remove the loop in request_frame().
It is not necessary due to the use of FF_LINK_FLAG_REQUEST_LOOP.
parent
807d4b63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
vf_idet.c
libavfilter/vf_idet.c
+3
-6
No files found.
libavfilter/vf_idet.c
View file @
7635242a
...
...
@@ -314,7 +314,7 @@ static int request_frame(AVFilterLink *link)
AVFilterContext
*
ctx
=
link
->
src
;
IDETContext
*
idet
=
ctx
->
priv
;
do
{
// TODO reindent
int
ret
;
if
(
idet
->
eof
)
...
...
@@ -328,14 +328,11 @@ static int request_frame(AVFilterLink *link)
if
(
!
next
)
return
AVERROR
(
ENOMEM
);
filter_frame
(
link
->
src
->
inputs
[
0
],
next
);
ret
=
filter_frame
(
link
->
src
->
inputs
[
0
],
next
);
idet
->
eof
=
1
;
}
else
if
(
ret
<
0
)
{
return
ret
;
}
}
while
(
link
->
frame_requested
);
return
0
;
return
ret
;
}
static
av_cold
void
uninit
(
AVFilterContext
*
ctx
)
...
...
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