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
f6647d88
Commit
f6647d88
authored
Aug 14, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_removelogo: fix permissions.
The branch with the test was already impossible.
parent
616c3f3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
vf_removelogo.c
libavfilter/vf_removelogo.c
+2
-10
No files found.
libavfilter/vf_removelogo.c
View file @
f6647d88
...
...
@@ -477,14 +477,7 @@ static int start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
AVFilterLink
*
outlink
=
inlink
->
dst
->
outputs
[
0
];
AVFilterBufferRef
*
outpicref
;
if
(
inpicref
->
perms
&
AV_PERM_PRESERVE
)
{
outpicref
=
ff_get_video_buffer
(
outlink
,
AV_PERM_WRITE
,
outlink
->
w
,
outlink
->
h
);
avfilter_copy_buffer_ref_props
(
outpicref
,
inpicref
);
outpicref
->
video
->
w
=
outlink
->
w
;
outpicref
->
video
->
h
=
outlink
->
h
;
}
else
outpicref
=
inpicref
;
outpicref
=
inpicref
;
outlink
->
out_buf
=
outpicref
;
return
ff_start_frame
(
outlink
,
avfilter_ref_buffer
(
outpicref
,
~
0
));
...
...
@@ -558,8 +551,7 @@ AVFilter avfilter_vf_removelogo = {
.
draw_slice
=
null_draw_slice
,
.
start_frame
=
start_frame
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
},
{
.
name
=
NULL
}
},
.
outputs
=
(
const
AVFilterPad
[])
{
...
...
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