openbsd-ports/multimedia/avidemux/patches/patch-avidemux_ADM_libswscale_yuv2rgb_c
ajacoutot 322e9cca1b - enable x264 support
- add missing xenocara LIBS (and remove obsolete)
- regen patches while here

"go for it" naddy@
2007-04-08 17:34:54 +00:00

14 lines
543 B
Plaintext

$OpenBSD: patch-avidemux_ADM_libswscale_yuv2rgb_c,v 1.2 2007/04/08 17:34:54 ajacoutot Exp $
--- avidemux/ADM_libswscale/yuv2rgb.c.orig Sun Oct 1 16:39:44 2006
+++ avidemux/ADM_libswscale/yuv2rgb.c Sun Apr 8 11:03:46 2007
@@ -620,6 +620,9 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
switch(c->dstFormat){
case PIX_FMT_BGR32:
+#ifdef ADM_BIG_ENDIAN
+ case PIX_FMT_BGRA:
+#endif
case PIX_FMT_RGB32: return yuv2rgb_c_32;
case PIX_FMT_RGB24: return yuv2rgb_c_24_rgb;
case PIX_FMT_BGR24: return yuv2rgb_c_24_bgr;