diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 23:32:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-14 23:49:52 +0100 |
commit | c3a24006d552d02a23f8adbbc475c0f09318a378 (patch) | |
tree | 45199c3c92a53144de737c44b9e746dd0d47a9b2 | |
parent | 80fd348bb7d9ee55c3100da87795f3a5bcbdfb32 (diff) | |
download | ffmpeg-c3a24006d552d02a23f8adbbc475c0f09318a378.tar.gz |
avformat/rmdec: Fix Packet memleak at close()
Fixes: asan_heap-oob_445b39_1741_d00eb645ab48eb2203b4a04a5b997103.ivr
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/rmdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index ad919e87d1..0867485cd8 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -1399,5 +1399,6 @@ AVInputFormat ff_ivr_demuxer = { .read_probe = ivr_probe, .read_header = ivr_read_header, .read_packet = ivr_read_packet, + .read_close = rm_read_close, .extensions = "ivr", }; |