st->codec->codec_id = CODEC_ID_PROBE;
st->codec->codec_tag = 0;
}
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;
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)) {
/* We have to init the frame size at some point .... */
pos2 = url_ftell(pb);
if (gsize >= (pos2 + 8 - pos1 + 24)) {