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