projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5283749
)
AAC in ASF does not need parsing.
author
Alex Converse
<alex.converse@gmail.com>
Thu, 19 Feb 2009 23:23:53 +0000
(23:23 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Thu, 19 Feb 2009 23:23:53 +0000
(23:23 +0000)
Originally committed as revision 17466 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
97888f3
..
610b655
100644
(file)
--- a/
libavformat/asf.c
+++ b/
libavformat/asf.c
@@
-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)) {