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

Joey Parrish joey at yunamusic.com
Mon May 13 23:15:32 CEST 2002


Hi,

On Mon, May 13, 2002 at 10:16:09PM +0200, pl wrote:
> 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).
> 
> -- 
> Best regards,
>   pl

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.

Gratefully,
--Joey

-------------- next part --------------
--- configure.orig	Mon May 13 16:03:18 2002
+++ configure	Mon May 13 16:03:31 2002
@@ -2342,12 +2342,12 @@
   return 0;
 }
 EOF
-  if cc_check -lungif && "$TMPO" >> "$TMPLOG" ; then
+  if cc_check -lgif && "$TMPO" >> "$TMPLOG" ; then
     _gif=yes
-    _ld_gif="-lungif"
-  elif cc_check -lgif && "$TMPO" >> "$TMPLOG" ; then
+    _ld_gif="-lgif"
+  elif cc_check -lungif && "$TMPO" >> "$TMPLOG" ; then
     _gif=yes
-    _ld_gif="-lgif"
+    _ld_gif="-lungif"
   fi
 fi
 


More information about the MPlayer-dev-eng mailing list