flac/examples
Erik de Castro Lopo 93846ee223 examples/c/decode/file/main.c : Add extra error handling.
Michele Spagnuolo provided a file that initially had frames with two
channels but then had a frame with a single channel. This example
program only supports exactly two channels and previously had
insufficient validation.

Closes: https://sourceforge.net/p/flac/bugs/418/
Reported-by: Michele Spagnuolo,
             Google Security Team <mikispag@google.com>
2014-11-20 21:46:57 +11:00
..
c examples/c/decode/file/main.c : Add extra error handling. 2014-11-20 21:46:57 +11:00
cpp Makefile.ams: Add MSVS project files to EXTRA_DIST. 2014-07-09 19:02:35 +10:00
Makefile.am Language fix: "difference licenses" 2013-05-27 18:08:57 +10:00
Makefile.lite Language fix: "difference licenses" 2013-05-27 18:08:57 +10:00
README add encoder examples 2007-09-13 00:38:08 +00:00

Here are several small example programs that use the libraries in different
ways.

The "c" directory has programs that are all in C and use libFLAC.

The "cpp" directory has analogous programs that are all in C++ and use libFLAC++. 

The programs are:
c/decode/file/ - example_c_decode_file - Simple FLAC file decoder using libFLAC
c/encode/file/ - example_c_encode_file - Simple FLAC file encoder using libFLAC
cpp/decode/file/ - example_cpp_decode_file - Simple FLAC file decoder using libFLAC++
cpp/encode/file/ - example_cpp_encode_file - Simple FLAC file encoder using libFLAC++