OSDN Git Service

lavfi/delogo: 10l forgotten trailing NULL in shorthand.
authorClément Bœsch <ubitux@gmail.com>
Sat, 16 Mar 2013 22:37:58 +0000 (23:37 +0100)
committerClément Bœsch <ubitux@gmail.com>
Sat, 16 Mar 2013 22:37:58 +0000 (23:37 +0100)
Regression since de3e0ab3.

libavfilter/vf_delogo.c

index 946008e..4c0670d 100644 (file)
@@ -172,7 +172,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
 {
     DelogoContext *delogo = ctx->priv;
     int ret = 0;
-    static const char *shorthand[] = { "x", "y", "w", "h", "band" };
+    static const char *shorthand[] = { "x", "y", "w", "h", "band", NULL };
 
     delogo->class = &delogo_class;
     av_opt_set_defaults(delogo);