Remove unused variable from flv_read_metabody() found by CSA.

Originally committed as revision 18571 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-04-17 17:42:41 +00:00
parent 29322398fc
commit 4eec260642
1 changed files with 1 additions and 2 deletions

View File

@ -223,12 +223,11 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) {
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