[FFmpeg-devel] flac/alac bug: alac encoder uses flac_compute_autocorr, but that is not availabe without flac

Justin Ruggles justin.ruggles
Sun Oct 18 16:00:56 CEST 2009


Jai Menon wrote:

> On Sun, Oct 18, 2009 at 10:40:16AM +0200, Kurtnoise wrote:
>> Hi,
>>
>> Justin Ruggles a ?crit :
>>> applied.
>> Justin, I think you have forgotten something when *all* encoders are
>> disabled during configure (i.e ./configure --disable-encoders)...
>>
>>
>> f:/dev/ffmpeg/libavcodec/libavcodec.a(dsputil.o): In function
>> `dsputil_init':
>> f:\dev\ffmpeg/libavcodec/dsputil.c:4840: undefined reference to
>> `ff_lpc_compute_
>> autocorr'
>> collect2: ld returned 1 exit status
>> make: *** [ffmpeg_g.exe] Error 1
> 
> Attached patch should fix this.

I think the attached patch would be a slightly better solution.  This
way it does not compile lpc_mmx.c if it is not used.

-Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_lpc.diff
Type: text/x-diff
Size: 3363 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091018/cb98e3b1/attachment.diff>



More information about the ffmpeg-devel mailing list