[MPlayer-users] Doesn't compile from source <PATCH>

Rüdiger Kuhlmann mplayer-list-UGa6JdjLujS2 at ruediger-kuhlmann.de
Sat Jan 11 04:07:06 CET 2003


--snip--
gcc -c -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -Inative -I.. -I../libmpdemux -I../loader -I-I/usr/include -I/usr/include/dvdnav -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -D_GNU_SOURCE -o vd_ffmpeg.o vd_ffmpeg.c
vd_ffmpeg.c: In function 	nit_vo':
vd_ffmpeg.c:354: `PIX_FMT_BGRA32' undeclared (first use in this function)
vd_ffmpeg.c:354: (Each undeclared identifier is reported only once
vd_ffmpeg.c:354: for each function it appears in.)
make[1]: *** [vd_ffmpeg.o] Fehler 1
make[1]: Leaving directory /vol/fuj6/ruediger/Work/cvs-mplayer/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Fehler 2
--snip--

Index: libmpcodecs/vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.81
diff -u -u -r1.81 vd_ffmpeg.c
--- libmpcodecs/vd_ffmpeg.c     28 Dec 2002 12:14:57 -0000      1.81
+++ libmpcodecs/vd_ffmpeg.c     11 Jan 2003 03:08:13 -0000
@@ -351,7 +351,7 @@
        case PIX_FMT_YUV411P: ctx->best_csp=IMGFMT_411P;break; //dv ntsc
        case PIX_FMT_YUV422:  ctx->best_csp=IMGFMT_YUY2;break; //huffyuv perhaps in the future
        case PIX_FMT_BGR24 :  ctx->best_csp=IMGFMT_BGR24;break; //huffyuv
-       case PIX_FMT_BGRA32:  ctx->best_csp=IMGFMT_BGR32;break; //huffyuv
+       case PIX_FMT_RGBA32:  ctx->best_csp=IMGFMT_BGR32;break; //huffyuv
        default:
            ctx->best_csp=0;
        }

-- 
         100 DM =  51  € 13 ¢.
         100  € = 195 DM 58 pf.
  mailto:ruediger at ruediger-kuhlmann.de
    http://www.ruediger-kuhlmann.de/



More information about the MPlayer-users mailing list