lavfi/frei0r: Fixes the compilation warnings
authorJun Zhao <barryjzhao@tencent.com>
Sun, 21 Apr 2019 04:37:29 +0000 (12:37 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Sun, 21 Apr 2019 13:20:16 +0000 (21:20 +0800)
Fixes the compilation warnings

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/vf_frei0r.c

index c775ed1..165fbd7 100644 (file)
@@ -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 = param;
+        val.str = (f0r_param_string *)param;
         break;
     }