flac/examples/c
Andrey Astafyev a9557c13fa
examples: Fix error condition processing
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>
2021-06-23 13:24:22 -07:00
..
decode Correct printf specifiers to unsigned int where needed 2019-12-09 06:13:11 +11:00
encode examples: Fix error condition processing 2021-06-23 13:24:22 -07:00
Makefile.am Bunch of CMake fixes 2020-05-03 17:13:50 +10:00