lavfi/ladspa: cast return value of av_x_if_null to char*, fix warnings
authorStefano Sabatini <stefasab@gmail.com>
Mon, 4 Nov 2013 12:03:56 +0000 (13:03 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 4 Nov 2013 23:04:17 +0000 (00:04 +0100)
libavfilter/af_ladspa.c

index 82c3d70..2057e6d 100644 (file)
@@ -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 {