OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76faff6
)
Remove some unused variables, fixes the warnings:
author
Diego Biurrun
<diego@biurrun.de>
Thu, 24 Dec 2009 12:11:55 +0000
(12:11 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 24 Dec 2009 12:11:55 +0000
(12:11 +0000)
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
libavformat/rtmppkt.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmppkt.c
b/libavformat/rtmppkt.c
index
058a1ca
..
e243e56
100644
(file)
--- 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)