From: Rafaël Carré Date: Thu, 7 Oct 2010 08:38:39 +0000 (+0000) Subject: libmp3lame: don't check unused function in detection X-Git-Tag: v0.7b1~1944 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b9d3868d5ff84b8d87c43934d6ccdf4dcdaa9e9;p=platform%2Fupstream%2Flibav.git libmp3lame: don't check unused function in detection hip_decode_init() isn't used by the wrapper, and can be absent from the library if lame was configured with --disable-decoder (like it is done for windows builds of VLC) Unfortunately this also removes the way to detect a libmp3lame more recent than the buggy 3.98.2 Patch by Rafaël Carré, rafael carre at gmail Originally committed as revision 25391 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 7cb843f56..8167db0dc 100755 --- a/configure +++ b/configure @@ -2744,7 +2744,7 @@ enabled libdirac && add_cflags $(pkg-config --cflags dirac) && require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init $(pkg-config --libs dirac) enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac enabled libgsm && require libgsm gsm/gsm.h gsm_create -lgsm -enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h hip_decode_init -lmp3lame +enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame enabled libnut && require libnut libnut.h nut_demuxer_init -lnut enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb