diff options
author | Mohamed Tarek <mt@rockbox.org> | 2009-07-27 12:13:22 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2009-07-27 12:13:22 +0000 |
commit | 5f5d105755d93e22d283e00b07775a4d935522d3 (patch) | |
tree | 0526359a5275b4185122a2f94ab5c6d1a7f13de6 /apps/codecs/libm4a/demux.c | |
parent | 320bd1adb84392273b7b713795a6148359395cf7 (diff) | |
download | rockbox-5f5d105755d93e22d283e00b07775a4d935522d3.tar.gz rockbox-5f5d105755d93e22d283e00b07775a4d935522d3.zip |
Change the naming scheme for codecs found in different containers.
Like changing AFMT_AAC to AFMT_MP4_AAC and AFMT_RAAC to AFMT_RM_AAC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22066 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libm4a/demux.c')
-rw-r--r-- | apps/codecs/libm4a/demux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libm4a/demux.c b/apps/codecs/libm4a/demux.c index f0c6922ca6..2cb236ae23 100644 --- a/apps/codecs/libm4a/demux.c +++ b/apps/codecs/libm4a/demux.c | |||
@@ -223,7 +223,7 @@ static bool read_chunk_stsd(qtmovie_t *qtmovie, size_t chunk_len) | |||
223 | /* remaining is codec data */ | 223 | /* remaining is codec data */ |
224 | 224 | ||
225 | if ((qtmovie->res->format==MAKEFOURCC('a','l','a','c'))) { | 225 | if ((qtmovie->res->format==MAKEFOURCC('a','l','a','c'))) { |
226 | if (qtmovie->stream->ci->id3->codectype!=AFMT_ALAC) { | 226 | if (qtmovie->stream->ci->id3->codectype!=AFMT_MP4_ALAC) { |
227 | return false; | 227 | return false; |
228 | } | 228 | } |
229 | 229 | ||
@@ -254,7 +254,7 @@ static bool read_chunk_stsd(qtmovie_t *qtmovie, size_t chunk_len) | |||
254 | stream_skip(qtmovie->stream, entry_remaining); | 254 | stream_skip(qtmovie->stream, entry_remaining); |
255 | 255 | ||
256 | } else if (qtmovie->res->format==MAKEFOURCC('m','p','4','a')) { | 256 | } else if (qtmovie->res->format==MAKEFOURCC('m','p','4','a')) { |
257 | if (qtmovie->stream->ci->id3->codectype!=AFMT_AAC) { | 257 | if (qtmovie->stream->ci->id3->codectype!=AFMT_MP4_AAC) { |
258 | return false; | 258 | return false; |
259 | } | 259 | } |
260 | 260 | ||