# HG changeset patch # User bcoudurier # Date 1163030967 0 # Node ID ad18f1010f475c628213624d0eca6b3d758219ee # Parent 88994beb6054347dc833a653b6c0bc7fee2e348a support m1a hdlr mpeg elementary audio handler, fix Po-Slow_Death_64K.mov diff -r 88994beb6054 -r ad18f1010f47 mov.c --- a/mov.c Wed Nov 08 23:18:18 2006 +0000 +++ b/mov.c Thu Nov 09 00:09:27 2006 +0000 @@ -412,6 +412,8 @@ st->codec->codec_type = CODEC_TYPE_VIDEO; else if(type == MKTAG('s', 'o', 'u', 'n')) st->codec->codec_type = CODEC_TYPE_AUDIO; + else if(type == MKTAG('m', '1', 'a', ' ')) + st->codec->codec_id = CODEC_ID_MP2; get_be32(pb); /* component manufacture */ get_be32(pb); /* component flags */ get_be32(pb); /* component flags mask */ @@ -1037,6 +1039,7 @@ st->codec->channels= 1; /* really needed */ break; case CODEC_ID_MP2: + st->codec->codec_type = CODEC_TYPE_AUDIO; /* force type after stsd for m1a hdlr */ st->need_parsing = 1; break; default: