[FFmpeg-devel] [PATCH] fix build with --enable-liba52 --enable-shared

Dominik 'Rathann' Mierzejewski dominik
Tue Sep 2 00:29:58 CEST 2008


Hi.
FFmpeg doesn't build in this configuration after ac3/eac3 split.

Steps to reproduce:
./configure --enable-liba52 --enable-shared --enable-gpl && make
Result:
...
/home/rathann/cvs/ffmpeg/libavcodec/libavcodec.so: undefined reference to `eac3_decoder'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

One-line fix attached.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 15150)
+++ configure	(working copy)
@@ -848,6 +848,7 @@
 # decoders / encoders
 ac3_decoder_deps="gpl !liba52"
 dxa_decoder_deps="zlib"
+eac3_decoder_deps="gpl !liba52"
 flashsv_decoder_deps="zlib"
 flashsv_encoder_deps="zlib"
 mlp_decoder_deps="mlp_parser"



More information about the ffmpeg-devel mailing list