mirror of https://github.com/xiph/flac
a9557c13fa
Don't attempt to attach failed metadata objects. This also avoids clobbering the error flag if attaching the objects should succeed. There may still be problems later, for example calling _delete() on a possibly null metadata object pointer, but this it at least and improvement in the compromise between error handling and readability in C. Signed-off-by: Ralph Giles <giles@thaumas.net> |
||
---|---|---|
.. | ||
c | ||
cpp | ||
CMakeLists.txt | ||
Makefile.am | ||
Makefile.lite | ||
README |
README
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++