[SCM] libav/experimental: 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.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:43:54 UTC 2013
The following commit has been merged in the experimental branch:
commit 77daaf674815d201dcb9ebb435e3c48dc5e72253
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sun Apr 12 04:01:03 2009 +0000
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.
Originally committed as revision 18460 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 7ec5773..d7e9d62 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list