[FFmpeg-cvslog] avfilter/aeval: Fix use of uninitialized variable
Michael Niedermayer
git at videolan.org
Wed Dec 11 15:38:38 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Dec 11 15:31:32 2013 +0100| [0fe6906d96cce8621e22a91c7d0106f7b03610fd] | committer: Michael Niedermayer
avfilter/aeval: Fix use of uninitialized variable
Fixes CID1135776
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0fe6906d96cce8621e22a91c7d0106f7b03610fd
---
libavfilter/aeval.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/aeval.c b/libavfilter/aeval.c
index 3a05fb0..2790cee 100644
--- a/libavfilter/aeval.c
+++ b/libavfilter/aeval.c
@@ -172,7 +172,7 @@ end:
static av_cold int init(AVFilterContext *ctx)
{
EvalContext *eval = ctx->priv;
- int ret;
+ int ret = 0;
if (eval->chlayout_str) {
if (!strcmp(eval->chlayout_str, "same") && !strcmp(ctx->filter->name, "aeval")) {
More information about the ffmpeg-cvslog
mailing list