HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: sergboec on 2015-06-05 08:51:28

Title: FLAC clear C realization
Post by: sergboec on 2015-06-05 08:51:28
Hello.
Have anyone seen the implementation of FLAC encoding/decoding on pure C?
By pure C i mean no new and minimum malloc usage.
Thanks.
Title: FLAC clear C realization
Post by: saratoga on 2015-06-05 14:21:46
Here is a version of ffmpeg flac decoder with malloc removed:

http://git.rockbox.org/?p=rockbox.git;a=tr...8212744;hb=HEAD (http://git.rockbox.org/?p=rockbox.git;a=tree;f=lib/rbcodec/codecs/libffmpegFLAC;h=952714b78212bebafd303bff62736b7f28212744;hb=HEAD)

Its not very difficult to do the same with the encoder too.