diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 00:47:15 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-04-08 20:29:12 +0200 |
commit | aef81fa75df2f25655bd762a044cac992e98a40e (patch) | |
tree | 360d8b7ad4d4ef096544045071f1ada76379319c | |
parent | 13cf445358a19d188a745e3d217297857021e406 (diff) | |
download | ffmpeg-aef81fa75df2f25655bd762a044cac992e98a40e.tar.gz |
vf_idet: fix free after use
Fixes ticket #2449
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cac749a551b2a068ff4636b3d42ccb8cce46c256)
-rw-r--r-- | libavfilter/vf_idet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index 8942ced4f3..56a3c20a54 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -176,6 +176,7 @@ static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref) idet->prev = idet->cur; idet->cur = idet->next; idet->next = picref; + link->cur_buf = NULL; if (!idet->cur) return 0; |