[FFmpeg-cvslog] r20798 - trunk/libavformat/rtmpproto.c

kostya subversion
Fri Dec 11 16:31:58 CET 2009


Author: kostya
Date: Fri Dec 11 16:31:58 2009
New Revision: 20798

Log:
5l trocadero: don't forget to free packet in gen_connect()
Patch by Martin Storsj? ($name at $name dot `abbreviation for "street"`)

Modified:
   trunk/libavformat/rtmpproto.c

Modified: trunk/libavformat/rtmpproto.c
==============================================================================
--- trunk/libavformat/rtmpproto.c	Fri Dec 11 12:37:21 2009	(r20797)
+++ trunk/libavformat/rtmpproto.c	Fri Dec 11 16:31:58 2009	(r20798)
@@ -144,6 +144,7 @@ static void gen_connect(URLContext *s, R
     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);
 }
 
 /**



More information about the ffmpeg-cvslog mailing list