avfilter/vf_dedot: initizalize ret variable
authorPaul B Mahol <onemda@gmail.com>
Fri, 16 Nov 2018 20:39:37 +0000 (21:39 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 16 Nov 2018 20:39:37 +0000 (21:39 +0100)
libavfilter/vf_dedot.c

index 35862c5..bb0f9e5 100644 (file)
@@ -265,7 +265,7 @@ static int activate(AVFilterContext *ctx)
     AVFrame *frame = NULL;
     int64_t pts;
     int status;
-    int ret;
+    int ret = 0;
 
     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);