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
a0560d04
Commit
a0560d04
authored
Nov 01, 2017
by
Moritz Barsnick
Committed by
Paul B Mahol
Nov 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_ocr: check ff_set_common_formats() return value
Signed-off-by:
Moritz Barsnick
<
barsnick@gmx.net
>
parent
17806f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
vf_ocr.c
libavfilter/vf_ocr.c
+1
-3
No files found.
libavfilter/vf_ocr.c
View file @
a0560d04
...
...
@@ -90,9 +90,7 @@ static int query_formats(AVFilterContext *ctx)
AVFilterFormats
*
fmts_list
=
ff_make_format_list
(
pix_fmts
);
if
(
!
fmts_list
)
return
AVERROR
(
ENOMEM
);
ff_set_common_formats
(
ctx
,
fmts_list
);
return
0
;
return
ff_set_common_formats
(
ctx
,
fmts_list
);
}
static
int
filter_frame
(
AVFilterLink
*
inlink
,
AVFrame
*
in
)
...
...
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