[Ffmpeg-devel] [PATCH] 24-bits flac support (with 16-bits output)

Thibaut Mattern thibaut.mattern
Fri May 26 10:56:12 CEST 2006


there was some discussion last year about 24-bits flac support :

the attached patch does two things :
  - fixes the overflow in the  decode_subframe_lpc function
  - shift the output to 16 bits

I've tested with this sample : http://sbriesen.de/xine/rastaman-30s.flac.
Of course the 16 bits output is not ideal, but it's better than the
random noise we get now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac.c.diff
Type: text/x-patch
Size: 2672 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060526/697db4e6/attachment.bin>

More information about the ffmpeg-devel mailing list