[MPlayer-users] Compile error with ffmpeg-mt

Zongyao QU zongyao.qu at gmail.com
Sat Jan 23 07:11:59 CET 2010


Well, use non ffmpeg-mt, it could compile through without problems, 
but with ffmpeg-mt the error 
like this.
------------------------------------------------
swscale.c:254: error: conflicting type qualifiers for 'ff_dither4'
swscale_internal.h:458: error: previous declaration of 'ff_dither4' was here
swscale.c:254: error: expected ',' or ';' before '[' token
swscale.c:258: error: conflicting type qualifiers for 'ff_dither8'
swscale_internal.h:459: error: previous declaration of 'ff_dither8' was here
swscale.c:258: error: expected ',' or ';' before '[' token
swscale.c:292: error: expected ',' or ';' before '[' token
swscale.c:301: error: expected ',' or ';' before '[' token
swscale.c:306: error: expected ',' or ';' before '[' token
swscale.c:311: error: expected ',' or ';' before '[' token
swscale.c:322: error: expected ',' or ';' before '[' token
swscale.c:334: error: expected ',' or ';' before '[' token
swscale.c: In function 'yuv2packedXinC':
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
swscale.c:994: error: subscripted value is neither array nor pointer
In file included from swscale.c:1316:
swscale_template.c: In function 'yuv2yuv1_MMX2':
swscale_template.c:957: warning: initialization from incompatible pointer type
swscale_template.c:957: warning: initialization from incompatible pointer type
swscale_template.c:957: warning: initialization from incompatible pointer type
swscale_template.c:957: warning: initialization from incompatible pointer type
swscale_template.c: In function 'yuv2packed2_MMX2':
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c:1353: error: subscripted value is neither array nor pointer
swscale_template.c: In function 'yuv2packed1_MMX2':
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1591: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c:1593: error: subscripted value is neither array nor pointer
swscale_template.c: In function 'bgr24ToUV_mmx_MMX2':
swscale_template.c:1938: error: subscripted value is neither array nor pointer
swscale_template.c:1887: error: memory input 4 is not directly addressable
swscale_template.c: In function 'hyscale_fast_MMX2':
swscale_template.c:2263: warning: initialization from incompatible pointer ty
swscale_template.c: In function 'hcscale_fast_MMX2':
swscale_template.c:2412: warning: initialization from incompatible pointer ty
swscale_template.c: In function 'swScale_MMX2':
swscale_template.c:2724: error: subscripted value is neither array nor pointer
swscale_template.c:2726: error: subscripted value is neither array nor pointer
swscale_template.c:2728: error: subscripted value is neither array nor pointer
swscale_template.c:2729: error: subscripted value is neither array nor pointer
swscale_template.c:2761: warning: cast from pointer to integer of different si
swscale_template.c:2767: warning: cast from pointer to integer of different si
swscale_template.c:2774: warning: cast from pointer to integer of different si
swscale_template.c: In function 'sws_init_swScale_MMX2':
swscale_template.c:2963: warning: assignment from incompatible pointer ty
swscale_template.c:2978: warning: assignment from incompatible pointer ty
swscale_template.c:3023: warning: assignment from incompatible pointer ty
swscale.c: In function 'sws_getContext':
swscale.c:2685: warning: passing argument 5 of 'initMMX2HScaler' from 
incompatible pointer type
swscale.c:2686: warning: passing argument 5 of 'initMMX2HScaler' from 
incompatible pointer type
make[1]: *** [swscale.o] Error 1
make: *** [libswscale/libswscale.a] Error 2
---------------------------------------------------

and my configure is

./configure
--codecsdir=codecs 
--win32codecsdir=codecs
 --xanimcodecsdir=codecs
 --realcodecsdir=codecs 
--disable-mencoder 
--disable-gui 
--disable-apple-remote  
--disable-unrarexec 
 --disable-pnm 
--disable-tga
 --disable-md5sum 
--disable-quartz
  --disable-openal --disable-tremor-internal 
--disable-png --disable-jpeg

on the Mac OSX 10.6 platform

Since ffmpeg-mt just uses mplayer/libswcale. who could give some advices?
Thanks.



More information about the MPlayer-users mailing list