1
0
Fork 0
forked from len0rd/rockbox

Submit FS#11918: Add 2 more codec types to be able to differentiate between AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-02-03 08:28:23 +00:00
parent 1bb3d61ef3
commit 7345ac124e
7 changed files with 72 additions and 14 deletions

View file

@ -257,7 +257,8 @@ static bool read_chunk_stsd(qtmovie_t *qtmovie, size_t chunk_len)
stream_skip(qtmovie->stream, entry_remaining);
} else if (qtmovie->res->format==MAKEFOURCC('m','p','4','a')) {
if (qtmovie->stream->ci->id3->codectype!=AFMT_MP4_AAC) {
if (qtmovie->stream->ci->id3->codectype!=AFMT_MP4_AAC &&
qtmovie->stream->ci->id3->codectype!=AFMT_MP4_AAC_HE) {
return false;
}