644572
From 303c62f25d9d8361f62c1eb00655efb6c4e89f21 Mon Sep 17 00:00:00 2001
644572
From: Wim Taymans <wtaymans@redhat.com>
644572
Date: Thu, 22 Feb 2018 11:37:07 +0100
644572
Subject: [PATCH 2/2] video: disable ORC_RESTRICT
644572
644572
We pass the same pointers to the video_chroma_up,
644572
video_chroma_down fnd video_convert unctions, which causes the
644572
compiler to complain.
644572
---
644572
 gst-libs/gst/video/video-chroma.c    | 2 ++
644572
 gst-libs/gst/video/video-converter.c | 2 ++
644572
 2 files changed, 4 insertions(+)
644572
644572
diff --git a/gst-libs/gst/video/video-chroma.c b/gst-libs/gst/video/video-chroma.c
644572
index b994658a9..0cba36838 100644
644572
--- a/gst-libs/gst/video/video-chroma.c
644572
+++ b/gst-libs/gst/video/video-chroma.c
644572
@@ -24,6 +24,8 @@
644572
 #include <string.h>
644572
 #include <stdio.h>
644572
 
644572
+#define ORC_RESTRICT
644572
+
644572
 #include "video-orc.h"
644572
 #include "video-format.h"
644572
 
644572
diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c
644572
index 31e866a79..03c23a56f 100644
644572
--- a/gst-libs/gst/video/video-converter.c
644572
+++ b/gst-libs/gst/video/video-converter.c
644572
@@ -29,6 +29,8 @@
644572
 #endif
644572
 #endif
644572
 
644572
+#define ORC_RESTRICT
644572
+
644572
 #include "video-converter.h"
644572
 
644572
 #include <glib.h>
644572
-- 
644572
2.14.3
644572