aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_fieldorder.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-11-27 08:59:55 +0100
committerAnton Khirnov <anton@khirnov.net>2012-11-28 08:50:24 +0100
commit4c973de9a5b67615762cf99ec20a8a633e64c4b8 (patch)
tree04453fa07776a53cfdad0add5405a5b0ad3ad5a2 /libavfilter/vf_fieldorder.c
parent49dd71a6f1bc9e5875ff98cf5e45710b8943b0f5 (diff)
downloadffmpeg-4c973de9a5b67615762cf99ec20a8a633e64c4b8.tar.gz
vf_fieldorder: require write permissions
This filter modifies the input frame.
Diffstat (limited to 'libavfilter/vf_fieldorder.c')
-rw-r--r--libavfilter/vf_fieldorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c
index e814785d7d..5f0cc3be33 100644
--- a/libavfilter/vf_fieldorder.c
+++ b/libavfilter/vf_fieldorder.c
@@ -184,7 +184,7 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = {
.config_props = config_input,
.get_video_buffer = get_video_buffer,
.filter_frame = filter_frame,
- .min_perms = AV_PERM_READ,
+ .min_perms = AV_PERM_READ | AV_PERM_WRITE,
.rej_perms = AV_PERM_REUSE2 | AV_PERM_PRESERVE,
},
{ NULL }