summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-11 17:06:07 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-11 17:06:07 +0100
commit825481e87baade74e91067d0ffdc5bbfcbfad2d3 (patch)
treedee8f51798cd822e11fa273d67a25c1eb052f5f1 /libavfilter
parent89d7f9266189bed4b41ad9d66289174355ef759e (diff)
yadif: reject reuse2 buffers as we cant use frames that change under our
fingers. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_yadif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index f4ddcaa24e..d4eed3015f 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -405,7 +405,8 @@ AVFilter avfilter_vf_yadif = {
.start_frame = start_frame,
.get_video_buffer = get_video_buffer,
.draw_slice = null_draw_slice,
- .end_frame = end_frame, },
+ .end_frame = end_frame,
+ .rej_perms = AV_PERM_REUSE2, },
{ .name = NULL}},
.outputs = (const AVFilterPad[]) {{ .name = "default",