yadif: Fix bug in C implementation of CHECK
authorVivia Nikolaidou <vivia@ahiru.eu>
Mon, 28 Feb 2022 18:39:11 +0000 (20:39 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 1 Mar 2022 07:22:10 +0000 (07:22 +0000)
commit087ca88213e67bee5b2db2bdc93db000df593ef7
treebd4e3229fe9fca4d93862778f778fc46d564abb5
parentef4cc9e6371c5fb5031dee5df5acfda41be0392c
yadif: Fix bug in C implementation of CHECK

It was different compared to the corresponding part in both ffmpeg and
the asm implementation. Fixing this makes videotestsrc pattern=spokes
not jump at all when not using the asm optimisations.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1816>
subprojects/gst-plugins-good/gst/deinterlace/yadif.c