# HG changeset patch # User bcoudurier # Date 1271798629 0 # Node ID 210e90a620440939c8df19ae9f51ab30fe7dfcce # Parent 41a3f142ca68a202f87bafb2a15179c25c6ebd7e seems aac gets screwed up by the parser so disable it diff -r 41a3f142ca68 -r 210e90a62044 matroskadec.c --- a/matroskadec.c Tue Apr 20 21:19:27 2010 +0000 +++ b/matroskadec.c Tue Apr 20 21:23:49 2010 +0000 @@ -1394,6 +1394,7 @@ st->codec->codec_type = AVMEDIA_TYPE_AUDIO; st->codec->sample_rate = track->audio.out_samplerate; st->codec->channels = track->audio.channels; + if (st->codec->codec_id != CODEC_ID_AAC) st->need_parsing = AVSTREAM_PARSE_HEADERS; } else if (track->type == MATROSKA_TRACK_TYPE_SUBTITLE) { st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;