changeset 5431:b0eb87793222 libavformat

5l trocadero: don't forget to free packet in gen_connect() Patch by Martin Storsj ($name at $name dot `abbreviation for "street"`)
author kostya
date Fri, 11 Dec 2009 15:31:58 +0000
parents bbfed6be7f29
children f282f7758d6e
files rtmpproto.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rtmpproto.c	Fri Dec 11 11:37:21 2009 +0000
+++ b/rtmpproto.c	Fri Dec 11 15:31:58 2009 +0000
@@ -144,6 +144,7 @@
     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);
 }
 
 /**