[FFmpeg-devel] [PATCH V2] lavfi/frei0r: Fixes the compilation warnings

Jun Zhao mypopydev at gmail.com
Sun Apr 21 15:38:50 EEST 2019


From: Jun Zhao <barryjzhao at tencent.com>

Fixes the compilation warnings

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavfilter/vf_frei0r.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index c775ed1..165fbd7 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -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;
     }
 
-- 
1.7.1



More information about the ffmpeg-devel mailing list