]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/f_perms.c
Merge commit '1ba95a9cca57b023b9b9de071a5671fc05b05e58'
[ffmpeg] / libavfilter / f_perms.c
index 9853eab4a5faf413f099f4a3013a346105a31584..85683f93d7bccee14bd156d4b9884d0295bf2aa6 100644 (file)
@@ -54,7 +54,7 @@ static const AVOption options[] = {
     { NULL }
 };
 
-static av_cold int init(AVFilterContext *ctx, const char *args)
+static av_cold int init(AVFilterContext *ctx)
 {
     PermsContext *perms = ctx->priv;
 
@@ -111,8 +111,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
     return ret;
 }
 
-static const char *const shorthand[] = { "mode", NULL };
-
 #if CONFIG_APERMS_FILTER
 
 #define aperms_options options
@@ -143,7 +141,6 @@ AVFilter avfilter_af_aperms = {
     .inputs      = aperms_inputs,
     .outputs     = aperms_outputs,
     .priv_class  = &aperms_class,
-    .shorthand   = shorthand,
 };
 #endif /* CONFIG_APERMS_FILTER */
 
@@ -177,6 +174,5 @@ AVFilter avfilter_vf_perms = {
     .inputs      = perms_inputs,
     .outputs     = perms_outputs,
     .priv_class  = &perms_class,
-    .shorthand   = shorthand,
 };
 #endif /* CONFIG_PERMS_FILTER */