[FFmpeg-cvslog] r20917 - trunk/libavformat/rtmppkt.c

diego subversion
Thu Dec 24 13:11:55 CET 2009


Author: diego
Date: Thu Dec 24 13:11:55 2009
New Revision: 20917

Log:
Remove some unused variables, fixes the warnings:
libavformat/rtmppkt.c:350: warning: unused variable ?i?
libavformat/rtmppkt.c:349: warning: unused variable ?base?

Modified:
   trunk/libavformat/rtmppkt.c

Modified: trunk/libavformat/rtmppkt.c
==============================================================================
--- trunk/libavformat/rtmppkt.c	Wed Dec 23 22:23:26 2009	(r20916)
+++ trunk/libavformat/rtmppkt.c	Thu Dec 24 13:11:55 2009	(r20917)
@@ -346,8 +346,7 @@ static const char* rtmp_packet_type(int 
 
 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)



More information about the ffmpeg-cvslog mailing list