[MPlayer-users] Build Error/MinGW HAVE_VSX

Josh Finch joshf87 at live.com
Sat Jul 2 04:07:05 CEST 2016


The latest FFmpeg is expecting HAVE_VSX to be defined, mplayer already checks but only on PPC:
CC	libswscale/options.oCC	libswscale/output.oCC	libswscale/rgb2rgb.oCC	libswscale/slice.olibswscale/slice.c: In function 'ff_init_slice_from_src':libswscale/slice.c:178:56: warning: assignment discards 'const' qualifier from pointer target type                 s->plane[i].line[start[i] - first + j] = src_[i] +  j * stride[i];                                                        ^libswscale/slice.c:184:37: warning: assignment discards 'const' qualifier from pointer target type                 s->plane[i].line[j] = src_[i] +  j * stride[i];                                     ^CC	libswscale/swscale.olibswscale/swscale.c: In function 'sws_init_swscale':libswscale/swscale.c:569:9: error: 'HAVE_VSX' undeclared (first use in this function)     if (HAVE_VSX && (!HAVE_BIGENDIAN)) {         ^libswscale/swscale.c:569:9: note: each undeclared identifier is reported only once for each function it appears incommon.mak:60: recipe for target 'libswscale/swscale.o' failedmake[1]: *** [libswscale/swscale.o] Error 1make[1]: Leaving directory '/sources/mplayer/ffmpeg'Makefile:742: recipe for target 'ffmpeg/libswscale/libswscale.a' failedmake: *** [ffmpeg/libswscale/libswscale.a] Error 2 		 	   		  


More information about the MPlayer-users mailing list