[SCM] libav/experimental: AAC in ASF does not need parsing.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:38:56 UTC 2013
The following commit has been merged in the experimental branch:
commit e7f73adbb8af5de1fd5b73097e816291b1ca6004
Author: Alex Converse <alex.converse at gmail.com>
Date: Thu Feb 19 23:23:53 2009 +0000
AAC in ASF does not need parsing.
Originally committed as revision 17466 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 97888f3..610b655 100644
--- 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)) {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list