From f63570ace5219a4e0543f04a7c0dd9ae1bd885d7 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sat, 14 Aug 2010 01:09:46 +0000 Subject: Add uppercase M4A file type to the mp4 parser. Technically Apple says to use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27805 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libm4a/demux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/codecs/libm4a') diff --git a/apps/codecs/libm4a/demux.c b/apps/codecs/libm4a/demux.c index bde2238..9390f0a 100644 --- a/apps/codecs/libm4a/demux.c +++ b/apps/codecs/libm4a/demux.c @@ -61,6 +61,7 @@ static void read_chunk_ftyp(qtmovie_t *qtmovie, size_t chunk_len) type = stream_read_uint32(qtmovie->stream); size_remaining-=4; if ((type != MAKEFOURCC('M','4','A',' ')) && + (type != MAKEFOURCC('m','4','a',' ')) && (type != MAKEFOURCC('M','4','B',' ')) && (type != MAKEFOURCC('m','p','4','2')) && (type != MAKEFOURCC('3','g','p','6')) && -- cgit v1.1