Continue detection if it is not clear if we have a MP3 or flac file.

Fixes http://samples.mplayerhq.hu/A-codecs/MP3/01%20-%20Charity%20Case.mp3


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26844 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-05-21 16:07:37 +00:00
parent 54a3734332
commit efeb534cc8
1 changed files with 2 additions and 1 deletions

View File

@ -293,6 +293,7 @@ static int demux_audio_open(demuxer_t* demuxer) {
}
} else if( hdr[0] == 'f' && hdr[1] == 'L' && hdr[2] == 'a' && hdr[3] == 'C' ) {
frmt = fLaC;
if (!mp3_hdrs || mp3_hdrs->cons_hdrs < 3)
break;
}
// Add here some other audio format detection