Commit 4538d660 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/aspect: set default value to 0:1, as stated in the docs

Fix regression introduced in commit 70ffda32.
parent 80715c3b
......@@ -35,6 +35,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
{
AspectContext *aspect = ctx->priv;
int ret;
aspect->ratio = (AVRational) {0, 1};
if (args) {
if ((ret = av_parse_ratio(&aspect->ratio, args, 100, 0, ctx)) < 0 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment