vf_fieldorder: fix permissions.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 14 Aug 2012 16:44:38 +0000 (18:44 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Fri, 17 Aug 2012 16:26:41 +0000 (18:26 +0200)
libavfilter/vf_fieldorder.c

index e012b29..8026580 100644 (file)
@@ -247,8 +247,7 @@ AVFilter avfilter_vf_fieldorder = {
                                               .get_video_buffer = get_video_buffer,
                                               .draw_slice       = draw_slice,
                                               .end_frame        = end_frame,
-                                              .min_perms        = AV_PERM_READ,
-                                              .rej_perms        = AV_PERM_REUSE2|AV_PERM_PRESERVE,},
+                                              .min_perms        = AV_PERM_READ | AV_PERM_PRESERVE },
                                             { .name = NULL}},
     .outputs       = (const AVFilterPad[]) {{ .name             = "default",
                                               .type             = AVMEDIA_TYPE_VIDEO, },