aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-12-24 12:11:55 +0000
committerDiego Biurrun <diego@biurrun.de>2009-12-24 12:11:55 +0000
commit251822897f02f5233211df81f6d5e91ae0dcfff8 (patch)
tree2e1c6cc8e963c13ab1c635c9bd2ffd6cba1c49b0
parent76faff6ef2f3ccdbee5e30cf7d002e540d908f6e (diff)
downloadffmpeg-251822897f02f5233211df81f6d5e91ae0dcfff8.tar.gz
Remove some unused variables, fixes the warnings:
libavformat/rtmppkt.c:350: warning: unused variable ‘i’ libavformat/rtmppkt.c:349: warning: unused variable ‘base’ Originally committed as revision 20917 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtmppkt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c
index 058a1ca37e..e243e56da5 100644
--- a/libavformat/rtmppkt.c
+++ b/libavformat/rtmppkt.c
@@ -346,8 +346,7 @@ static const char* rtmp_packet_type(int type)
static void ff_amf_tag_contents(void *ctx, const uint8_t *data, const uint8_t *data_end)
{
- const uint8_t *base = data;
- int i, size;
+ int size;
char buf[1024];
if (data >= data_end)