Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fe6906

Browse files
committed
avfilter/aeval: Fix use of uninitialized variable
Fixes CID1135776 Signed-off-by: Michael Niedermayer <[email protected]>
1 parent b6eee40 commit 0fe6906

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libavfilter/aeval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static int parse_channel_expressions(AVFilterContext *ctx,
172172
static av_cold int init(AVFilterContext *ctx)
173173
{
174174
EvalContext *eval = ctx->priv;
175-
int ret;
175+
int ret = 0;
176176

177177
if (eval->chlayout_str) {
178178
if (!strcmp(eval->chlayout_str, "same") && !strcmp(ctx->filter->name, "aeval")) {

0 commit comments

Comments
 (0)