You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_estdif: fix recently introduced regression
This commit is contained in:
@@ -346,7 +346,7 @@ static int deinterlace_slice(AVFilterContext *ctx, void *arg,
|
|||||||
const int redge = s->redge;
|
const int redge = s->redge;
|
||||||
const int depth = s->depth;
|
const int depth = s->depth;
|
||||||
const int interlaced = !!(in->flags & AV_FRAME_FLAG_INTERLACED);
|
const int interlaced = !!(in->flags & AV_FRAME_FLAG_INTERLACED);
|
||||||
const int tff = (s->field == (s->parity == -1 ? interlaced ? (in->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST) : 1 :
|
const int tff = (s->field == (s->parity == -1 ? interlaced ? !!(in->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST) : 1 :
|
||||||
s->parity ^ 1));
|
s->parity ^ 1));
|
||||||
|
|
||||||
for (int plane = 0; plane < s->nb_planes; plane++) {
|
for (int plane = 0; plane < s->nb_planes; plane++) {
|
||||||
|
Reference in New Issue
Block a user