Commit d659fcdc authored by Jean-Paul Saman's avatar Jean-Paul Saman

modules/video_filter/colorthres.c: set default values

The compiler complained about possible use uninitialized use of the variables
i_u_offset, i_v_offset and i_y_offset.
parent a624aaeb
......@@ -287,7 +287,7 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
return NULL;
}
int i_y_offset, i_u_offset, i_v_offset;
int i_y_offset = 0, i_u_offset = 0, i_v_offset = 0;
GetPackedYuvOffsets( p_filter->fmt_in.video.i_chroma,
&i_y_offset, &i_u_offset, &i_v_offset );
......
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