mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-14 04:18:36 +00:00
Enable FFMPEG_DECODER in Win32 builds.
This commit is contained in:
parent
e1f5279856
commit
2f66efdfe2
@ -85,6 +85,10 @@
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef WIN32
|
||||
#define FFMPEG_DECODER
|
||||
#endif
|
||||
|
||||
using namespace musik::core::sdk;
|
||||
|
||||
#ifdef WIN32
|
||||
@ -148,7 +152,7 @@ bool TaglibMetadataReader::CanRead(const char *extension) {
|
||||
std::string ext(extension);
|
||||
boost::algorithm::to_lower(ext);
|
||||
return
|
||||
#if FFMPEG_DECODER
|
||||
#ifdef FFMPEG_DECODER
|
||||
ext.compare("opus") == 0 ||
|
||||
ext.compare("wv") == 0 ||
|
||||
ext.compare("wma") == 0 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user