video: Silence "restrict" issues with ORC code
authorEdward Hervey <edward@centricular.com>
Fri, 4 May 2018 08:35:36 +0000 (10:35 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 5 May 2018 08:27:12 +0000 (10:27 +0200)
commit1a1570bb1e388022e5f9819931c2edfa50440f25
tree09927c5875da15bd4d3df1af9e778363de8d0c67
parent6e1bf7fab37d2072a7db7c55cda4f36af518d998
video: Silence "restrict" issues with ORC code

The problem is that even though the functions we are calling are
in-place transformation, orc automatically puts the restrict keyword
on all arguments. To silence that warning just create yet-another
variable containing the same value.

https://bugzilla.gnome.org/show_bug.cgi?id=795765
gst-libs/gst/video/video-chroma.c
gst-libs/gst/video/video-converter.c