Correctly initialize FLAC_API_SUPPORTS_OGG_FLAC
authorUlrich Klauer <ulrich@chirlu.de>
Sat, 25 May 2013 12:14:08 +0000 (14:14 +0200)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 25 May 2013 21:42:13 +0000 (07:42 +1000)
commitc9f05ed2100e73b99a6d172ce78d763456071f72
tree698edc86e1dd0aa3d8f8751855590487e1bdeadf
parentd2122a072535e83e0c21d8714dfc8714c7a6538c
Correctly initialize FLAC_API_SUPPORTS_OGG_FLAC

Commits a7e3705d051bafd1cae90f6605287cc1d9f2a18d and
a4c321e492748db0a7e38240699ba420ba88e01c, while trying to simplify how
the FLAC_API_SUPPORTS_OGG_FLAC global variable was initialized,
inadvertently caused it to be always set to false, whether Ogg support
was compiled in or not.

This commit reverts the relevant part to how it looked in the 1.2.1
release, which is verbose but correct.

The problem was found by Robert Kausch <robert.kausch@freac.org>.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
src/libFLAC/stream_decoder.c