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

Justin Ruggles justin.ruggles
Fri Oct 16 23:36:17 CEST 2009


Justin Ruggles wrote:

> Reimar D?ffinger wrote:
> 
>> Hello,
>> maybe I'm wrong, but could the maintainers please have a look at it?
>> It seems to me that the alac encoder uses ff_lpc_calc_coefs, which in
>> turn requires flac_compute_autocorr, but that one is NULL if the
>> FLAC encoder is disabled - thus a build with flac disabled will crash
>> when encoding alac.
>> This is also issue 1486
> 
> Perhaps we should move the C version to either lpc.c or dsputil.c.

Patch attached.  I do maintain LPC and FLAC, but this also messes around
with dsputil stuff so I thought I should post a patch before committing.

-Justin

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



More information about the ffmpeg-devel mailing list