lavfi/tinterlace: set inlink->cur to NULL, since it is stored internally
[ffmpeg.git] / libavfilter / vf_tinterlace.c
index 5b03b81..6ec5674 100644 (file)
@@ -206,6 +206,7 @@ static int start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
     avfilter_unref_buffer(tinterlace->cur);
     tinterlace->cur  = tinterlace->next;
     tinterlace->next = picref;
+    inlink->cur_buf = NULL;
     return 0;
 }