summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 17:42:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 17:42:41 +0000
commit4eec26064255788d27b382b31fb06d61355a6566 (patch)
tree58dcc9900a3dfde3ef0168a2707d49a5b2c396c4 /libavformat/flvdec.c
parent29322398fc2610eed5625e9a7328a23f2bd848c4 (diff)
Remove unused variable from flv_read_metabody() found by CSA.
Originally committed as revision 18571 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index d7e9d620dd..f580c5c5c6 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -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