Skip to content

Commit

Permalink
add support for qmc3 format
Browse files Browse the repository at this point in the history
  • Loading branch information
Presburger committed Apr 17, 2019
1 parent 94dce4e commit 5c22592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ void process(string dir)
outloc.pop_back();
}

if(bak!="0cmq"&&bak!="calfcmq")
if(bak!="0cmq"&&bak!="calfcmq"&&bak!="3cmq")
return;

assert(bak.size()>3);
for(int u=0;u<3;++u)
bak.pop_back();
std::reverse(bak.begin(),bak.end());
if(bak=="0")
if(bak=="0"||bak=="3")
bak="mp3";
outloc+=bak;

Expand Down

0 comments on commit 5c22592

Please sign in to comment.