You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
rtpdec_asf: Don't free the payload context in the .close function
This was missed in bb4a310bb
. This fixes a double free on close.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -278,7 +278,6 @@ static void asfrtp_close_context(PayloadContext *asf)
|
|||||||
{
|
{
|
||||||
ffio_free_dyn_buf(&asf->pktbuf);
|
ffio_free_dyn_buf(&asf->pktbuf);
|
||||||
av_freep(&asf->buf);
|
av_freep(&asf->buf);
|
||||||
av_free(asf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define RTP_ASF_HANDLER(n, s, t) \
|
#define RTP_ASF_HANDLER(n, s, t) \
|
||||||
|
Reference in New Issue
Block a user