Commit 35f85be0 authored by Pierre Ynard's avatar Pierre Ynard

rotate: fix uninitialized motion angle

parent 7ec90ddf
...@@ -153,6 +153,8 @@ static int Create( vlc_object_t *p_this ) ...@@ -153,6 +153,8 @@ static int Create( vlc_object_t *p_this )
free( p_filter->p_sys ); free( p_filter->p_sys );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
p_sys->i_angle = 0;
cache_trigo( p_sys->i_angle, &p_sys->i_sin, &p_sys->i_cos );
} }
else else
{ {
......
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