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
65e8f6dd
Commit
65e8f6dd
authored
Jan 27, 2020
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_paletteuse: Forward error codes
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@gmail.com
>
parent
7239254b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vf_paletteuse.c
libavfilter/vf_paletteuse.c
+4
-4
No files found.
libavfilter/vf_paletteuse.c
View file @
65e8f6dd
...
...
@@ -912,12 +912,12 @@ static int apply_palette(AVFilterLink *inlink, AVFrame *in, AVFrame **outf)
s
->
last_out
,
out
,
&
x
,
&
y
,
&
w
,
&
h
);
av_frame_unref
(
s
->
last_in
);
av_frame_unref
(
s
->
last_out
);
if
(
av_frame_ref
(
s
->
last_in
,
in
)
<
0
||
av_frame_ref
(
s
->
last_out
,
out
)
<
0
||
av_frame_make_writable
(
s
->
last_in
)
<
0
)
{
if
(
(
ret
=
av_frame_ref
(
s
->
last_in
,
in
))
<
0
||
(
ret
=
av_frame_ref
(
s
->
last_out
,
out
))
<
0
||
(
ret
=
av_frame_make_writable
(
s
->
last_in
)
)
<
0
)
{
av_frame_free
(
&
out
);
*
outf
=
NULL
;
return
AVERROR
(
ENOMEM
)
;
return
ret
;
}
ff_dlog
(
ctx
,
"%dx%d rect: (%d;%d) -> (%d,%d) [area:%dx%d]
\n
"
,
...
...
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