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

michael subversion
Fri Apr 17 19:42:41 CEST 2009


Author: michael
Date: Fri Apr 17 19:42:41 2009
New Revision: 18571

Log:
Remove unused variable from flv_read_metabody() found by CSA.

Modified:
   trunk/libavformat/flvdec.c

Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c	Fri Apr 17 19:39:09 2009	(r18570)
+++ trunk/libavformat/flvdec.c	Fri Apr 17 19:42:41 2009	(r18571)
@@ -223,12 +223,11 @@ static int flv_read_metabody(AVFormatCon
     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



More information about the ffmpeg-cvslog mailing list