mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 19:25:01 +00: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:
parent
72b870b95b
commit
f8caa5441b
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user