yadif: Fix illegal memory access
authorVineeth TM <vineeth.tm@samsung.com>
Tue, 15 Dec 2015 23:25:19 +0000 (08:25 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 16 Dec 2015 08:33:25 +0000 (09:33 +0100)
commit50978ccd1ae2e4055d40112aa4e019b48f1952eb
tree2a37f4f65043c5ade071928f2c7ea43c504661a3
parenteb7deb44181ed3bebc57de32ab43119add9633e8
yadif: Fix illegal memory access

When applying the spatial prediction, there is an illegal access of -1 index of array.
Hence adding a condition to avoid this.

https://bugzilla.gnome.org/show_bug.cgi?id=759518
gst/yadif/vf_yadif.c