[MPlayer-cvslog] CVS: main/libmpcodecs/native RTjpegN.c, 1.9, 1.10 RTjpegN.h, 1.2, 1.3

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Tue Oct 4 21:50:58 CEST 2005


Diego Biurrun wrote:
> On Tue, Oct 04, 2005 at 02:15:14PM +0200, Reimar Döffinger CVS wrote:
> 
>>Modified Files:
>>	RTjpegN.c RTjpegN.h 
>>Log Message:
>>Fix 100l bugs that break playback on 64 bit systems (like typedefing __u32
>>as long!!).
> 
> 
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -g -O4   -maltivec -mabi=altivec -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I.. -Inative -I../libmpdemux -I../loader  -I../libavutil -I../libavcodec    -D_GNU_SOURCE  -o native/RTjpegN.o native/RTjpegN.c
> native/RTjpegN.c: In function 'RTjpeg_mcompressYUV420':
> native/RTjpegN.c:3217: warning: pointer targets in initialization differ in signedness
> native/RTjpegN.c:3218: warning: pointer targets in initialization differ in signedness
> native/RTjpegN.c:3227: error: request for member 'uq' in something not a structure or union
> native/RTjpegN.c:3228: error: request for member 'uq' in something not a structure or union
> native/RTjpegN.c:3256: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness
> native/RTjpegN.c:3265: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness
> native/RTjpegN.c:3274: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness
> native/RTjpegN.c:3283: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness
> native/RTjpegN.c: In function 'RTjpeg_mcompressYUV422':
> native/RTjpegN.c:3318: error: request for member 'uq' in something not a structure or union
> native/RTjpegN.c:3319: error: request for member 'uq' in something not a structure or union
> native/RTjpegN.c:3323: warning: pointer targets in assignment differ in signedness
> native/RTjpegN.c:3351: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness
> native/RTjpegN.c:3360: warning: pointer targets in passing argument 1 of 'RTjpeg_dctY' differ in signedness
> native/RTjpegN.c: In function 'RTjpeg_mcompress8':
> native/RTjpegN.c:3391: error: request for member 'uq' in something not a structure or union
> make: *** [native/RTjpegN.o] Error 1
> 
> gcc 4.0.2, Debian unstable, PowerPC
> 
> Reverting RTjpegN.c to revision 1.9 fixes the problem...

indeed. moreover, .ug in non-mmx part is useless even if it worked, 
because the variables are unsigned anyway.

-- 
Jindrich Makovicka




More information about the MPlayer-cvslog mailing list