[FFmpeg-cvslog] r18460 - trunk/libavformat/flvdec.c

michael subversion
Sun Apr 12 06:01:03 CEST 2009


Author: michael
Date: Sun Apr 12 06:01:03 2009
New Revision: 18460

Log:
Disable metadata reading, yes id like to know what this code is good for
and this is the easiest way to. It would be alot of messy code we can drop
if it is useless.
As a sideeffect this fixes issue977.

Modified:
   trunk/libavformat/flvdec.c

Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c	Sun Apr 12 05:26:20 2009	(r18459)
+++ trunk/libavformat/flvdec.c	Sun Apr 12 06:01:03 2009	(r18460)
@@ -342,7 +342,7 @@ static int flv_read_packet(AVFormatConte
         if ((flags & 0xf0) == 0x50) /* video info / command frame */
             goto skip;
     } else {
-        if (type == FLV_TAG_TYPE_META && size > 13+1+4)
+        if (type == FLV_TAG_TYPE_META && size > 13+1+4 && 0)
             flv_read_metabody(s, next);
         else /* skip packet */
             av_log(s, AV_LOG_ERROR, "skipping flv packet: type %d, size %d, flags %d\n", type, size, flags);



More information about the ffmpeg-cvslog mailing list