# HG changeset patch # User michael # Date 1239508863 0 # Node ID 0793a33d775f4557c33008857a2002bde5d11120 # Parent 7517f820d260d5177b3550239b8ea1018d4f4d81 Disable metadata reading. Yes, I would like to know what this code is good for and this is the easiest way to. It would be a lot of messy code we can drop if it is useless. As a sideeffect this fixes issue977. diff -r 7517f820d260 -r 0793a33d775f flvdec.c --- a/flvdec.c Sun Apr 12 03:08:46 2009 +0000 +++ b/flvdec.c Sun Apr 12 04:01:03 2009 +0000 @@ -342,7 +342,7 @@ 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);