Skip to content
Snippets Groups Projects
Commit 5a67e30b authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Michael Niedermayer
Browse files

ffmpeg: fix broken channel_layout option


Fixes ticket #2163.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 423856c4
No related branches found
No related tags found
No related merge requests found
......@@ -2140,7 +2140,7 @@ static int opt_channel_layout(void *optctx, const char *opt, const char *arg)
return AVERROR(EINVAL);
}
snprintf(layout_str, sizeof(layout_str), "%"PRIu64, layout);
ret = opt_default(NULL, opt, layout_str);
ret = opt_default_new(o, opt, layout_str);
if (ret < 0)
return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment