projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b870b
)
5l trocadero: don't forget to free packet in gen_connect()
author
Martin Storsjö
<martin@martin.st>
Fri, 11 Dec 2009 15:31:58 +0000
(15:31 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 11 Dec 2009 15:31:58 +0000
(15:31 +0000)
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)
Originally committed as revision 20798 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
c9b1774
..
559a93f
100644
(file)
--- a/
libavformat/rtmpproto.c
+++ b/
libavformat/rtmpproto.c
@@
-144,6
+144,7
@@
static void gen_connect(URLContext *s, RTMPContext *rt, const char *proto,
pkt.data_size = p - pkt.data;
ff_rtmp_packet_write(rt->stream, &pkt, rt->chunk_size, rt->prev_pkt[1]);
+ ff_rtmp_packet_destroy(&pkt);
}
/**