aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_ladspa.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-11-04 13:03:56 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-05 00:04:17 +0100
commit988e2e7c1c18cc31aebae1a6b21c9305f715e6a8 (patch)
tree3d64216f0dcbd855fe527270a97fb7799690502b /libavfilter/af_ladspa.c
parentbd75651378da81b8d75640c3f12765a4b9369534 (diff)
downloadffmpeg-988e2e7c1c18cc31aebae1a6b21c9305f715e6a8.tar.gz
lavfi/ladspa: cast return value of av_x_if_null to char*, fix warnings
Diffstat (limited to 'libavfilter/af_ladspa.c')
-rw-r--r--libavfilter/af_ladspa.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavfilter/af_ladspa.c b/libavfilter/af_ladspa.c
index 82c3d704af..2057e6d0ef 100644
--- a/libavfilter/af_ladspa.c
+++ b/libavfilter/af_ladspa.c
@@ -450,9 +450,11 @@ static av_cold int init(AVFilterContext *ctx)
count_ports(desc, &inputs, &outputs);
av_log(ctx, AV_LOG_INFO, "%lu:%lu %-25s %s\n", inputs, outputs, desc->Label,
- 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, "Copyright: %s\n", av_x_if_null(desc->Copyright, "?"));
+ (char *)av_x_if_null(desc->Name, "?"));
+ av_log(ctx, AV_LOG_VERBOSE, "Maker: %s\n",
+ (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;
} else {