[FFmpeg-cvslog] rtpdec_asf: Don't free the payload context in the .close function
Martin Storsjö
git at videolan.org
Wed Mar 4 19:21:40 CET 2015
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Mar 4 09:50:44 2015 +0200| [1dc19729e92a96620000e09eba8e58cb458c9486] | committer: Martin Storsjö
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 at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1dc19729e92a96620000e09eba8e58cb458c9486
---
libavformat/rtpdec_asf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 82ea12f..23bf31c 100644
--- a/libavformat/rtpdec_asf.c
+++ b/libavformat/rtpdec_asf.c
@@ -278,7 +278,6 @@ static void asfrtp_close_context(PayloadContext *asf)
{
ffio_free_dyn_buf(&asf->pktbuf);
av_freep(&asf->buf);
- av_free(asf);
}
#define RTP_ASF_HANDLER(n, s, t) \
More information about the ffmpeg-cvslog
mailing list