gstreamer1-plugins-base/0002-video-chroma-disable-ORC_RESTRICT.patch

28 lines
754 B
Diff
Raw Normal View History

2018-02-22 10:40:16 +00:00
From 6d508298753196cfe4e89f0ebbe73f067ee0abc2 Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Thu, 22 Feb 2018 11:37:07 +0100
Subject: [PATCH 2/2] video-chroma: disable ORC_RESTRICT
We pass the same pointers to the video_chroma_up and
video_chroma_down functions, which causes the compiler to complain.
---
gst-libs/gst/video/video-chroma.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gst-libs/gst/video/video-chroma.c b/gst-libs/gst/video/video-chroma.c
index b994658a9..0cba36838 100644
--- a/gst-libs/gst/video/video-chroma.c
+++ b/gst-libs/gst/video/video-chroma.c
@@ -24,6 +24,8 @@
#include <string.h>
#include <stdio.h>
+#define ORC_RESTRICT
+
#include "video-orc.h"
#include "video-format.h"
--
2.14.3