Commit a45052aa authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

remoteosd: use memset()

parent 75615261
...@@ -256,13 +256,8 @@ static int CreateFilter ( vlc_object_t *p_this ) ...@@ -256,13 +256,8 @@ static int CreateFilter ( vlc_object_t *p_this )
p_sys->i_alpha = var_CreateGetIntegerCommand( p_this, RMTOSD_CFG "alpha" ); p_sys->i_alpha = var_CreateGetIntegerCommand( p_this, RMTOSD_CFG "alpha" );
for ( int i = 0; i < 256; i++ ) memset( p_sys->ar_color_table_yuv, 255,
{ sizeof( p_sys->ar_color_table_yuv ) );
p_sys->ar_color_table_yuv[i][0] = 255;
p_sys->ar_color_table_yuv[i][1] = 255;
p_sys->ar_color_table_yuv[i][2] = 255;
p_sys->ar_color_table_yuv[i][3] = 255;
}
/* Keep track of OSD Events */ /* Keep track of OSD Events */
p_sys->b_need_update = false; p_sys->b_need_update = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment