aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-07-06 21:49:33 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-07-06 21:49:33 +0000
commit09e54e1ff8c977376fc84e436350f054697e2e10 (patch)
treed543c3381bc9b39177682215f18aac89b03ae344
parent8caa0f065121bd6fe7ddb45b1a60b5980d3a5486 (diff)
downloadffmpeg-09e54e1ff8c977376fc84e436350f054697e2e10.tar.gz
flvdec: re-enable metadata parsing
duration and videodatarate values are actually useful original patch from Art Clarke aclarke _at_ xuggle _dot_ com Originally committed as revision 19363 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 56b6fa5cfc..8fdc365532 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -350,7 +350,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 && 0)
+ if (type == FLV_TAG_TYPE_META && size > 13+1+4)
flv_read_metabody(s, next);
else /* skip packet */
av_log(s, AV_LOG_DEBUG, "skipping flv packet: type %d, size %d, flags %d\n", type, size, flags);