[MPlayer-dev-eng] [PATCH] Disable LIBOGG_MUXER when compiling without external libogg

Glen Nakamura glen at imodulo.com
Sun Nov 11 05:52:04 CET 2007


The attached patch fixes a compilation problem in libavformat/libogg.c
when the external libogg/libvorbis libraries are not present.
The libogg muxer is normally disabled when libvorbis is not detected,
but the following changeset in libavformat renamed OGG_MUXER to
LIBOGG_MUXER:

------------------------------------------------------------------------
r10956 | diego | 2007-11-08 01:22:29 -1000 (Thu, 08 Nov 2007) | 3 lines

Give Ogg muxer a lib prefix in the name like we do with all other formats
implemented through external libraries, plus rename the files accordingly.
------------------------------------------------------------------------

This patch makes the corresponding change in the MPlayer configure script.

- glen
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 25019)
+++ configure	(working copy)
@@ -5868,7 +5868,7 @@
 fi
 if test "$_libvorbis" = no ; then
   _libavencoders=`echo $_libavencoders | sed -e s/LIBVORBIS_ENCODER// `
-  _libavmuxers=`echo $_libavmuxers | sed -e s/OGG_MUXER// `
+  _libavmuxers=`echo $_libavmuxers | sed -e s/LIBOGG_MUXER// `
 fi
 echores "$_vorbis"
 


More information about the MPlayer-dev-eng mailing list