gstreamer1-plugins-base/0001-video-converter-fix-compilation-on-big-endian.patch
2016-07-07 18:49:04 +02:00

33 lines
999 B
Diff

From 9144a787dfed694ea646e3f35dcf6b35be1330ea Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Thu, 7 Jul 2016 17:29:34 +0200
Subject: [PATCH] video-converter: fix compilation on big-endian
---
gst-libs/gst/video/video-converter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c
index de9bab4..e67a32a 100644
--- a/gst-libs/gst/video/video-converter.c
+++ b/gst-libs/gst/video/video-converter.c
@@ -3575,6 +3575,7 @@ convert_AYUV_RGBA (GstVideoConverter * convert, const GstVideoFrame * src,
convert_fill_border (convert, dest);
}
+#endif
static void
convert_I420_BGRA (GstVideoConverter * convert, const GstVideoFrame * src,
@@ -3687,7 +3688,6 @@ convert_I420_pack_ARGB (GstVideoConverter * convert, const GstVideoFrame * src,
}
convert_fill_border (convert, dest);
}
-#endif
static void
memset_u24 (guint8 * data, guint8 col[3], unsigned int n)
--
2.7.4