diff options
author | Max Kellermann <max@duempel.org> | 2008-11-10 14:39:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-10 14:39:42 +0100 |
commit | 0e87f85598333c6e88ab115ebae15389fc23214a (patch) | |
tree | 0f8b353a8ec06dcd3bcb6cedaff2cde2d612a760 /src/decoder/oggflac_plugin.c | |
parent | 505959f74dc1819706f20b8ca074c1324aa9fb41 (diff) | |
download | mpd-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/decoder/oggflac_plugin.c')
0 files changed, 0 insertions, 0 deletions