]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Disable metadata reading, yes id like to know what this code is good for
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 12 Apr 2009 04:01:03 +0000 (04:01 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 12 Apr 2009 04:01:03 +0000 (04:01 +0000)
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18460 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/flvdec.c

index 7ec577390a791ed6c02d1fb5b089766ebb2751f7..d7e9d620dd936fe58b9cc567e3a499a6e5022592 100644 (file)
@@ -342,7 +342,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
         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);