Hi! I failed to test attached patch but it seems like a more useful fix for the following (past) warning: libavfilter/vf_frei0r.c:130:17: warning: assignment to ‘char **’ from incompatible pointer type ‘char *’
Please comment, Carl Eugen
From c0d6001012f3da95ee493905c7411dc20839f4c8 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Tue, 23 Apr 2019 23:09:01 +0200 Subject: [PATCH] lavfi/frei0r: Fix a union entry and remove an unneeded cast. --- libavfilter/vf_frei0r.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 165fbd7..5d38405 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -93,7 +93,7 @@ static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, cha double d; f0r_param_color_t col; f0r_param_position_t pos; - f0r_param_string *str; + f0r_param_string str; } val; char *tail; uint8_t rgba[4]; @@ -127,7 +127,7 @@ static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, cha break; case F0R_PARAM_STRING: - val.str = (f0r_param_string *)param; + val.str = param; break; } -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".