Commit 988e2e7c authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/ladspa: cast return value of av_x_if_null to char*, fix warnings

parent bd756513
...@@ -450,9 +450,11 @@ static av_cold int init(AVFilterContext *ctx) ...@@ -450,9 +450,11 @@ static av_cold int init(AVFilterContext *ctx)
count_ports(desc, &inputs, &outputs); count_ports(desc, &inputs, &outputs);
av_log(ctx, AV_LOG_INFO, "%lu:%lu %-25s %s\n", inputs, outputs, desc->Label, av_log(ctx, AV_LOG_INFO, "%lu:%lu %-25s %s\n", inputs, outputs, desc->Label,
av_x_if_null(desc->Name, "?")); (char *)av_x_if_null(desc->Name, "?"));
av_log(ctx, AV_LOG_VERBOSE, "Maker: %s\n", av_x_if_null(desc->Maker, "?")); av_log(ctx, AV_LOG_VERBOSE, "Maker: %s\n",
av_log(ctx, AV_LOG_VERBOSE, "Copyright: %s\n", av_x_if_null(desc->Copyright, "?")); (char *)av_x_if_null(desc->Maker, "?"));
av_log(ctx, AV_LOG_VERBOSE, "Copyright: %s\n",
(char *)av_x_if_null(desc->Copyright, "?"));
} }
return AVERROR_EXIT; return AVERROR_EXIT;
} else { } else {
......
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