mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavfi/frei0r: Fix a union member type and remove an unneeded cast.
This commit is contained in:
parent
a42e761b96
commit
1ae5a64457
@ -93,7 +93,7 @@ static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, cha
|
|||||||
double d;
|
double d;
|
||||||
f0r_param_color_t col;
|
f0r_param_color_t col;
|
||||||
f0r_param_position_t pos;
|
f0r_param_position_t pos;
|
||||||
f0r_param_string *str;
|
f0r_param_string str;
|
||||||
} val;
|
} val;
|
||||||
char *tail;
|
char *tail;
|
||||||
uint8_t rgba[4];
|
uint8_t rgba[4];
|
||||||
@ -127,7 +127,7 @@ static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, cha
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case F0R_PARAM_STRING:
|
case F0R_PARAM_STRING:
|
||||||
val.str = (f0r_param_string *)param;
|
val.str = param;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user