[Ffmpeg-devel] Fix missing declaration for Altivec

Stanislav Brabec sbrabec
Thu Mar 29 16:32:57 CEST 2007


Hallo.

Attached patch fixes missing declaration if HAVE_ALTIVEC is true.

Author: Andreas Schwab. 

--- libswscale/yuv2rgb.c
+++ libswscale/yuv2rgb.c
@@ -606,6 +606,7 @@
 #ifdef HAVE_ALTIVEC
     if (c->flags & SWS_CPU_CAPS_ALTIVEC)
     {
+	extern SwsFunc yuv2rgb_init_altivec(SwsContext *);
 	SwsFunc t = yuv2rgb_init_altivec(c);
 	if(t) return t;
     }


-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec at suse.cz
Lihovarsk? 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                                http://www.suse.cz/





More information about the ffmpeg-devel mailing list