mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-25 00:33:26 +00:00
parent
ce764a6c74
commit
8c3166e1c3
@ -343,8 +343,8 @@ static int config_props(AVFilterLink *link)
|
|||||||
if(yadif->mode&1)
|
if(yadif->mode&1)
|
||||||
link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1});
|
link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1});
|
||||||
|
|
||||||
if (link->w < 3 || link->h < 3) {
|
if (link->w < 3 || link->h < 4) {
|
||||||
av_log(ctx, AV_LOG_ERROR, "Video of less than 3 columns or lines is not supported\n");
|
av_log(ctx, AV_LOG_ERROR, "Video of less than 3 columns or 4 lines is not supported\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user