[FFmpeg-cvslog] lavfi/frei0r: Fix a union member type and remove an unneeded cast.

Carl Eugen Hoyos git at videolan.org
Thu Apr 25 01:29:56 EEST 2019


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Tue Apr 23 23:09:01 2019 +0200| [1ae5a6445724457a27c665a5a793c98aebff7d33] | committer: Carl Eugen Hoyos

lavfi/frei0r: Fix a union member type and remove an unneeded cast.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ae5a6445724457a27c665a5a793c98aebff7d33
---

 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 165fbd7d81..5d38405999 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;
     }
 



More information about the ffmpeg-cvslog mailing list