Browse Source

vf_yadif: unset cur_buf on the input link.

The buffer is stored internally, so this prevents it from being unreffed
automatically.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
tags/n1.0
Anton Khirnov Luca Barbato 13 years ago
parent
commit
b5c8aa745e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_yadif.c

+ 1
- 0
libavfilter/vf_yadif.c View File

@@ -221,6 +221,7 @@ static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
yadif->prev = yadif->cur;
yadif->cur = yadif->next;
yadif->next = picref;
link->cur_buf = NULL;

if (!yadif->cur)
return 0;


Loading…
Cancel
Save