|
|
|
@@ -256,7 +256,7 @@ static av_cold int frei0r_init(AVFilterContext *ctx, |
|
|
|
return AVERROR(EINVAL); |
|
|
|
|
|
|
|
if (f0r_init() < 0) { |
|
|
|
av_log(ctx, AV_LOG_ERROR, "Could not init the frei0r module"); |
|
|
|
av_log(ctx, AV_LOG_ERROR, "Could not init the frei0r module\n"); |
|
|
|
return AVERROR(EINVAL); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -316,7 +316,7 @@ static int config_input_props(AVFilterLink *inlink) |
|
|
|
Frei0rContext *frei0r = ctx->priv; |
|
|
|
|
|
|
|
if (!(frei0r->instance = frei0r->construct(inlink->w, inlink->h))) { |
|
|
|
av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance"); |
|
|
|
av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance\n"); |
|
|
|
return AVERROR(EINVAL); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -433,7 +433,7 @@ static int source_config_props(AVFilterLink *outlink) |
|
|
|
outlink->sample_aspect_ratio = (AVRational){1,1}; |
|
|
|
|
|
|
|
if (!(frei0r->instance = frei0r->construct(outlink->w, outlink->h))) { |
|
|
|
av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance"); |
|
|
|
av_log(ctx, AV_LOG_ERROR, "Impossible to load frei0r instance\n"); |
|
|
|
return AVERROR(EINVAL); |
|
|
|
} |
|
|
|
|
|
|
|
|