diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 00:47:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 02:21:28 +0200 |
commit | cac749a551b2a068ff4636b3d42ccb8cce46c256 (patch) | |
tree | eae8cc3a893901dfb15b4fd12f4cf23f7ad2831d | |
parent | 1a104bf641b1f5e278dd1cbf29853921785aa797 (diff) | |
download | ffmpeg-cac749a551b2a068ff4636b3d42ccb8cce46c256.tar.gz |
vf_idet: fix free after use
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 9f68d2f933..7295d5035f 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -175,6 +175,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; |