• Max Kellermann's avatar
    flac: enable the oggflac plugin with older libflac versions · 0e87f855
    Max Kellermann authored
    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.
    0e87f855
flac_plugin.c 13.6 KB