[MPlayer-users] CVS works no longer with current ffmpeg on bigendian

Gansser, Martin MGansser at inneo.de
Wed Jun 18 09:53:54 CEST 2003


Hi,

the current MPlayer CVS Tree works not with ffmpeg-cvs-2003-06-17

the error message is the following:


gcc -O4   -pipe -ffast-math -fomit-frame-pointer -DHPUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mjpeg
.o mjpeg.c
mjpeg.c: In function `mjpeg_decode_frame':
mjpeg.c:1664: `PIX_FMT_ABGR32' undeclared (first use in this function)
mjpeg.c:1664: (Each undeclared identifier is reported only once
mjpeg.c:1664: for each function it appears in.)
gmake[1]: *** [mjpeg.o] Error 1
gmake[1]: Leaving directory `/users/mgansser/GNU/MPlayer-20030618/libavcodec'
gmake: *** [libavcodec/libavcodec.a] Error 2


MPlayer CVS compiles at the moment only with ffmpeg-cvs-2003-06-10

OS: hpux 11.00 big endian

I figured out that it works only wiht the following change on my machine:

diff -Naur mjpeg.c.orig mjpeg.c
--- mjpeg.c.orig        2003-06-18 09:43:28.000000000 +0200
+++ mjpeg.c     2003-06-18 09:53:50.000000000 +0200
@@ -1661,7 +1661,7 @@
                         case 0x11:
                             if(s->rgb){
 #ifdef WORDS_BIGENDIAN
-                                avctx->pix_fmt = PIX_FMT_ABGR32;
+                                avctx->pix_fmt = PIX_FMT_YUV444P;
 #else
                                 avctx->pix_fmt = PIX_FMT_RGBA32;
 #endif

any suggestion ?

thanks Martin



More information about the MPlayer-users mailing list