1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

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
This commit is contained in:
Martin Storsjö
2009-12-11 15:31:58 +00:00
committed by Kostya Shishkov
parent 72b870b95b
commit f8caa5441b

View File

@@ -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);
}
/**