changeset 4887:acb51f192e13 libavformat

Remove unused variable from flv_read_metabody() found by CSA.
author michael
date Fri, 17 Apr 2009 17:42:41 +0000
parents 0dcec0a53438
children 1b46fda1e1e0
files flvdec.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flvdec.c	Fri Apr 17 15:13:01 2009 +0000
+++ b/flvdec.c	Fri Apr 17 17:42:41 2009 +0000
@@ -223,12 +223,11 @@
     AMFDataType type;
     AVStream *stream, *astream, *vstream;
     ByteIOContext *ioc;
-    int i, keylen;
+    int i;
     char buffer[11]; //only needs to hold the string "onMetaData". Anything longer is something we don't want.
 
     astream = NULL;
     vstream = NULL;
-    keylen = 0;
     ioc = s->pb;
 
     //first object needs to be "onMetaData" string