vf_drawtext: fix permissions.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 14 Aug 2012 16:42:36 +0000 (18:42 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Fri, 17 Aug 2012 16:26:40 +0000 (18:26 +0200)
libavfilter/vf_drawbox.c

index 2e02be4..3067f21 100644 (file)
@@ -138,8 +138,7 @@ AVFilter avfilter_vf_drawbox = {
                                           .start_frame      = ff_null_start_frame,
                                           .draw_slice       = draw_slice,
                                           .end_frame        = ff_null_end_frame,
-                                          .min_perms        = AV_PERM_WRITE | AV_PERM_READ,
-                                          .rej_perms        = AV_PERM_PRESERVE },
+                                          .min_perms        = AV_PERM_WRITE | AV_PERM_READ },
                                         { .name = NULL}},
     .outputs   = (const AVFilterPad[]) {{ .name             = "default",
                                           .type             = AVMEDIA_TYPE_VIDEO, },