[MPlayer-dev-eng] [PATCH] bugfix vo_png vo_gif89a

Arpi arpi at thot.banki.hu
Mon May 13 23:32:50 CEST 2002


Hi,

> > Please test the attached patch based on your patch for configure (and
> > feel free to edit).
> > 
> > It's against latest cvs and should fix some display issues when tests
> > fail and a possible issue if the user uses optimizations (int i=0; if (i
> > == 1) blah(); ...} might be not compiled when optimizations are enabled).

it's already in the cvs, and in just released pre4 :)

> Thank you very much.  That's much more elegant than my way.
> My only tweak would be to test for libgif before libungif to
> give gif compression preference when available.

anyway, i get errors, and libungif not detected due to this:

============ Checking for GIF89a support ============

#include <gif_lib.h>
int main(void) {
  return 0;
}

gcc    /tmp/mplayer-conf-23021-2703.c -o /tmp/mplayer-conf-2739-2703.o
-lungif
/usr/lib/libungif.so: undefined reference to `XDestroyImage'
/usr/lib/libungif.so: undefined reference to `XGetWindowAttributes'
/usr/lib/libungif.so: undefined reference to `XGetImage'
/usr/lib/libungif.so: undefined reference to `XGetPixel'
/usr/lib/libungif.so: undefined reference to `XQueryColors'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-2739-2703.o
ldd: /tmp/mplayer-conf-2739-2703.o: No such file or directory

dunno why depends libungif (libgif is symlink to ungif here) on X11.
it's Slackware 8.0, distro's default libungif package.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list