diff options
author | Martin Storsjö <martin@martin.st> | 2009-12-11 15:31:58 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-12-11 15:31:58 +0000 |
commit | f8caa5441b2e1a9b45f19415512a855ac482398f (patch) | |
tree | 3e789dd776099fd568fc49e61e54e86c322bb37a /libavformat/rtmpproto.c | |
parent | 72b870b95b18865ea0851b0233f96a6a2159b8cf (diff) | |
download | ffmpeg-f8caa5441b2e1a9b45f19415512a855ac482398f.tar.gz |
5l trocadero: don't forget to free packet in gen_connect()
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)
Originally committed as revision 20798 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index c9b177493d..559a93f867 100644 --- 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); } /** |