[FFmpeg-cvslog] r17466 - trunk/libavformat/asf.c

alexc subversion
Fri Feb 20 00:23:53 CET 2009


Author: alexc
Date: Fri Feb 20 00:23:53 2009
New Revision: 17466

Log:
AAC in ASF does not need parsing.

Modified:
   trunk/libavformat/asf.c

Modified: trunk/libavformat/asf.c
==============================================================================
--- trunk/libavformat/asf.c	Fri Feb 20 00:09:24 2009	(r17465)
+++ trunk/libavformat/asf.c	Fri Feb 20 00:23:53 2009	(r17466)
@@ -285,7 +285,11 @@ static int asf_read_header(AVFormatConte
                     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)) {




More information about the ffmpeg-cvslog mailing list