diff options
-rw-r--r-- | libavfilter/vf_thumbnail.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c index dda1a5dbf6..4359635c1f 100644 --- a/libavfilter/vf_thumbnail.c +++ b/libavfilter/vf_thumbnail.c @@ -117,6 +117,7 @@ static void end_frame(AVFilterLink *inlink) // keep a reference of each frame thumb->frames[thumb->n].buf = inlink->cur_buf; + inlink->cur_buf = NULL; // no selection until the buffer of N frames is filled up if (thumb->n < thumb->n_frames - 1) { |