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
release/0.6
Diego Biurrun 15 years ago
parent 76faff6ef2
commit 251822897f
  1. 3
      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) static void ff_amf_tag_contents(void *ctx, const uint8_t *data, const uint8_t *data_end)
{ {
const uint8_t *base = data; int size;
int i, size;
char buf[1024]; char buf[1024];
if (data >= data_end) if (data >= data_end)

Loading…
Cancel
Save