[FFmpeg-cvslog] r19622 - trunk/libavformat/matroskadec.c

aurel subversion
Mon Aug 10 20:12:02 CEST 2009


Author: aurel
Date: Mon Aug 10 20:12:02 2009
New Revision: 19622

Log:
matroskadec: disable h264 parser as long as it totally mess up frame type

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	Mon Aug 10 20:06:14 2009	(r19621)
+++ trunk/libavformat/matroskadec.c	Mon Aug 10 20:12:02 2009	(r19622)
@@ -1376,6 +1376,7 @@ static int matroska_read_header(AVFormat
                       st->codec->height * track->video.display_width,
                       st->codec-> width * track->video.display_height,
                       255);
+            if (st->codec->codec_id != CODEC_ID_H264)
             st->need_parsing = AVSTREAM_PARSE_HEADERS;
         } else if (track->type == MATROSKA_TRACK_TYPE_AUDIO) {
             st->codec->codec_type = CODEC_TYPE_AUDIO;



More information about the ffmpeg-cvslog mailing list