Commit e0b2f121 authored by alexc's avatar alexc

AAC in ASF does not need parsing.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17466 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ffaa8584
......@@ -285,7 +285,11 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment