diff --git a/src/transcoder/transcoder.cpp b/src/transcoder/transcoder.cpp index 84433f3f0..b9165360b 100644 --- a/src/transcoder/transcoder.cpp +++ b/src/transcoder/transcoder.cpp @@ -284,7 +284,7 @@ Song::FileType Transcoder::PickBestFormat(const QList &supported best_formats << Song::FileType::WavPack; for (Song::FileType type : best_formats) { - if (supported.isEmpty() || supported.contains(type)) return type; + if (supported.contains(type)) return type; } return supported[0];