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
5673a010
Commit
5673a010
authored
Dec 26, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/decimate: remove usage of link->cur_buf.
parent
33e0eb51
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
vf_decimate.c
libavfilter/vf_decimate.c
+0
-1
No files found.
libavfilter/vf_decimate.c
View file @
5673a010
...
@@ -198,7 +198,6 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *cur)
...
@@ -198,7 +198,6 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *cur)
}
else
{
}
else
{
avfilter_unref_buffer
(
decimate
->
ref
);
avfilter_unref_buffer
(
decimate
->
ref
);
decimate
->
ref
=
cur
;
decimate
->
ref
=
cur
;
inlink
->
cur_buf
=
NULL
;
decimate
->
drop_count
=
FFMIN
(
-
1
,
decimate
->
drop_count
-
1
);
decimate
->
drop_count
=
FFMIN
(
-
1
,
decimate
->
drop_count
-
1
);
if
(
ret
=
ff_filter_frame
(
outlink
,
avfilter_ref_buffer
(
cur
,
~
AV_PERM_WRITE
))
<
0
)
if
(
ret
=
ff_filter_frame
(
outlink
,
avfilter_ref_buffer
(
cur
,
~
AV_PERM_WRITE
))
<
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