[FFmpeg-cvslog] lavfi/delogo: 10l forgotten trailing NULL in shorthand.

Clément Bœsch git at videolan.org
Sat Mar 16 23:50:00 CET 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sat Mar 16 23:37:58 2013 +0100| [8d84e90c9bf1a06ce107aedbf6db651fa276d6e5] | committer: Clément Bœsch

lavfi/delogo: 10l forgotten trailing NULL in shorthand.

Regression since de3e0ab3.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d84e90c9bf1a06ce107aedbf6db651fa276d6e5
---

 libavfilter/vf_delogo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index 946008e..4c0670d 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -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);



More information about the ffmpeg-cvslog mailing list