vf_drawtext: fix permissions.

This commit is contained in:
Nicolas George 2012-08-14 18:42:36 +02:00
parent 84923555bb
commit 0238806f64

View 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, },