Mercurial > libavformat.hg
changeset 5973:210e90a62044 libavformat
seems aac gets screwed up by the parser so disable it
author | bcoudurier |
---|---|
date | Tue, 20 Apr 2010 21:23:49 +0000 |
parents | 41a3f142ca68 |
children | 0361768bfa73 |
files | matroskadec.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;