[MPlayer-dev-eng] [PATCH] towards working shared libav* support

Diego Biurrun diego at biurrun.de
Sun Sep 14 16:41:02 CEST 2008


On Sun, Sep 14, 2008 at 02:51:39AM +0200, Dominik 'Rathann' Mierzejewski wrote:
> Here's the first patch that takes us a step close to working shared
> libav* support. It doesn't break anything and fixes a couple of
> problems when using ./configure --disable-libav*_a.

.. some comments below ..

> --- Makefile	(revision 27605)
> +++ Makefile	(working copy)
> @@ -752,7 +752,7 @@
>  
>  codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
> -	$(HOST_CC) -O -I. -DCODECS2HTML -o $@ $<
> +	$(HOST_CC) -O -I. $(EXTRA_INC) -DCODECS2HTML -o $@ $<

Why?

> --- configure	(revision 27605)
> +++ configure	(working copy)
> @@ -6584,6 +6596,42 @@
>  
> +elif test "$_libswscale_so" = auto ; then
> +  _libswscale_so=no
> +  _res_comment="using libswscale.so, but static libswscale is recommended"
> +  cat > $TMPC << EOF
> +  #define CONFIG_LIBSWSCALE 1

This line is bogus I think.

> --- libmpdemux/demux_lavf.c	(revision 27605)
> +++ libmpdemux/demux_lavf.c	(working copy)
> @@ -36,9 +36,7 @@
>  
>  #include "libavformat/avformat.h"
>  #include "libavutil/avutil.h"
> -#include "libavformat/avi.h"
>  #include "libavcodec/opt.h"
> -#include "libavformat/riff.h"

This looks unrelated.

Diego



More information about the MPlayer-dev-eng mailing list