# HG changeset patch # User alexc # Date 1235085833 0 # Node ID 6b77e9f5b682ff612bdf05f85bf12ddb3ebc4d52 # Parent 16856c4b7cff72a30a7de81cfe6750355da79b2b AAC in ASF does not need parsing. diff -r 16856c4b7cff -r 6b77e9f5b682 asf.c --- a/asf.c Thu Feb 19 23:09:24 2009 +0000 +++ b/asf.c Thu Feb 19 23:23:53 2009 +0000 @@ -285,7 +285,11 @@ st->codec->codec_id = CODEC_ID_PROBE; st->codec->codec_tag = 0; } + if (st->codec->codec_id == CODEC_ID_AAC) { + st->need_parsing = AVSTREAM_PARSE_NONE; + } else { st->need_parsing = AVSTREAM_PARSE_FULL; + } /* We have to init the frame size at some point .... */ pos2 = url_ftell(pb); if (gsize >= (pos2 + 8 - pos1 + 24)) {