changeset 5096:7edb10e8f03b libavformat

flvdec: re-enable metadata parsing duration and videodatarate values are actually useful original patch from Art Clarke aclarke _at_ xuggle _dot_ com
author aurel
date Mon, 06 Jul 2009 21:49:33 +0000
parents 7f17519bfa37
children 453175c733c4
files flvdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flvdec.c	Mon Jul 06 21:46:37 2009 +0000
+++ b/flvdec.c	Mon Jul 06 21:49:33 2009 +0000
@@ -350,7 +350,7 @@
         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);