[FFmpeg-cvslog] avfilter/vf_mix: initialize last to silence possible warning
Paul B Mahol
git at videolan.org
Mon Apr 30 21:46:51 EEST 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Apr 30 20:42:17 2018 +0200| [da55304cafea712f1f78955f931c33f83c687477] | committer: Paul B Mahol
avfilter/vf_mix: initialize last to silence possible warning
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da55304cafea712f1f78955f931c33f83c687477
---
libavfilter/vf_mix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c
index 14e0f19e2d..d0cc7cb830 100644
--- a/libavfilter/vf_mix.c
+++ b/libavfilter/vf_mix.c
@@ -74,7 +74,7 @@ static av_cold int init(AVFilterContext *ctx)
{
MixContext *s = ctx->priv;
char *p, *arg, *saveptr = NULL;
- int i, ret, last;
+ int i, ret, last = 0;
s->tmix = !strcmp(ctx->filter->name, "tmix");
More information about the ffmpeg-cvslog
mailing list