aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-10 14:39:42 +0100
committerMax Kellermann <max@duempel.org>2008-11-10 14:39:42 +0100
commit0e87f85598333c6e88ab115ebae15389fc23214a (patch)
tree0f8b353a8ec06dcd3bcb6cedaff2cde2d612a760 /src/pcm_utils.h
parent505959f74dc1819706f20b8ca074c1324aa9fb41 (diff)
downloadmpd-0e87f85598333c6e88ab115ebae15389fc23214a.tar.gz
mpd-0e87f85598333c6e88ab115ebae15389fc23214a.tar.xz
mpd-0e87f85598333c6e88ab115ebae15389fc23214a.zip
flac: enable the oggflac plugin with older libflac versions
Since decoder_list.c does not include the libflac headers, it cannot know whether to add the oggflac plugin to the decoder list. Solve this by always enabling the oggflac sub-plugin, even with older libflac versions. When the libflac API cannot support oggflac, disable the plugin at runtime by returning "false" from its init() method.
Diffstat (limited to 'src/pcm_utils.h')
0 files changed, 0 insertions, 0 deletions