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

aurel subversion
Mon Jul 6 23:49:34 CEST 2009


Author: aurel
Date: Mon Jul  6 23:49:33 2009
New Revision: 19363

Log:
flvdec: re-enable metadata parsing
duration and videodatarate values are actually useful
original patch from Art Clarke  aclarke _at_ xuggle _dot_ com

Modified:
   trunk/libavformat/flvdec.c

Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c	Mon Jul  6 23:46:37 2009	(r19362)
+++ trunk/libavformat/flvdec.c	Mon Jul  6 23:49:33 2009	(r19363)
@@ -350,7 +350,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 && 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);



More information about the ffmpeg-cvslog mailing list