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