projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce764a6
)
avfilter/vf_bwdif: fix heap-buffer overflow
author
Paul B Mahol
<onemda@gmail.com>
Sun, 13 Oct 2019 21:21:35 +0000
(23:21 +0200)
committer
Paul B Mahol
<onemda@gmail.com>
Mon, 14 Oct 2019 09:46:50 +0000
(11:46 +0200)
Fixes #8261
libavfilter/vf_bwdif.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_bwdif.c
b/libavfilter/vf_bwdif.c
index
3716558
..
b6aed7a
100644
(file)
--- a/
libavfilter/vf_bwdif.c
+++ b/
libavfilter/vf_bwdif.c
@@
-343,8
+343,8
@@
static int config_props(AVFilterLink *link)
if(yadif->mode&1)
link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1});
- if (link->w < 3 || link->h <
3
) {
- av_log(ctx, AV_LOG_ERROR, "Video of less than 3 columns or lines is not supported\n");
+ if (link->w < 3 || link->h <
4
) {
+ av_log(ctx, AV_LOG_ERROR, "Video of less than 3 columns or
4
lines is not supported\n");
return AVERROR(EINVAL);
}