Mercurial > libavformat.hg
diff avidec.c @ 1472:49d5a5ca2987 libavformat
get rid of CODEC_ID_MPEG4AAC after next version bump, and change it to CODEC_ID_AAC where used
author | bcoudurier |
---|---|
date | Thu, 09 Nov 2006 11:37:30 +0000 |
parents | 404048ea11bc |
children | 41a7ed2b064a |
line wrap: on
line diff
--- a/avidec.c Thu Nov 09 00:09:27 2006 +0000 +++ b/avidec.c Thu Nov 09 11:37:30 2006 +0000 @@ -443,6 +443,9 @@ /* special case time: To support Xan DPCM, hardcode * the format if Xxan is the video codec */ st->need_parsing = 1; + /* ADTS header is in extradata, AAC without header must be stored as exact frames, parser not needed and it will fail */ + if (st->codec->codec_id == CODEC_ID_AAC && st->codec->extradata_size) + st->need_parsing = 0; /* force parsing as several audio frames can be in one packet */ if (xan_video)