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

index 45bff8f..1605286 100644 (file)
@@ -381,6 +381,7 @@ AVFilter avfilter_vf_colormatrix = {
     .inputs    = (AVFilterPad[]) {{ .name             = "default",
                                     .type             = AVMEDIA_TYPE_VIDEO,
                                     .config_props     = config_input,
+                                    .min_perms        = AV_PERM_READ | AV_PERM_WRITE,
                                     .start_frame      = start_frame,
                                     .get_video_buffer = get_video_buffer,
                                     .draw_slice       = null_draw_slice,