Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sixue.cheng
FFmpeg
Commits
0e68e8c9
Commit
0e68e8c9
authored
5 years ago
by
Paul B Mahol
Browse files
Options
Download
Email Patches
Plain Diff
avfilter/vf_w3fdif: deny processing small videos
Fixes #8243
parent
0b567238
release/6.1
n7.1-dev
n7.0.2
n7.0.1
n7.0
n6.2-dev
n6.1.2
n6.1.1
n6.1
n6.1-dev
n6.0.1
n6.0
n5.2-dev
n5.1.6
n5.1.5
n5.1.4
n5.1.3
n5.1.2
n5.1.1
n5.1
n5.1-dev
n5.0.3
n5.0.2
n5.0.1
n5.0
n4.5-dev
n4.4.5
n4.4.4
n4.4.3
n4.4.2
n4.4.1
n4.4
n4.4-dev
n4.3.8
n4.3.7
n4.3.6
n4.3.5
n4.3.4
n4.3.3
n4.3.2
n4.3.1
n4.3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavfilter/vf_w3fdif.c
+5
-0
libavfilter/vf_w3fdif.c
with
5 additions
and
0 deletions
+5
-0
libavfilter/vf_w3fdif.c
+
5
-
0
View file @
0e68e8c9
...
...
@@ -274,6 +274,11 @@ static int config_input(AVFilterLink *inlink)
s
->
planeheight
[
1
]
=
s
->
planeheight
[
2
]
=
AV_CEIL_RSHIFT
(
inlink
->
h
,
desc
->
log2_chroma_h
);
s
->
planeheight
[
0
]
=
s
->
planeheight
[
3
]
=
inlink
->
h
;
if
(
inlink
->
h
<
3
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Video of less than 3 lines is not supported
\n
"
);
return
AVERROR
(
EINVAL
);
}
s
->
nb_planes
=
av_pix_fmt_count_planes
(
inlink
->
format
);
s
->
nb_threads
=
ff_filter_get_nb_threads
(
ctx
);
s
->
work_line
=
av_calloc
(
s
->
nb_threads
,
sizeof
(
*
s
->
work_line
));
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help