diff --git a/modules/video_filter/opengl.c b/modules/video_filter/opengl.c index dab1645fa9bae5b4c8b01f5f9c57e792cdfaa2be..94dcc9b535e5cf8cb939142878f1de45e09ba1d3 100644 --- a/modules/video_filter/opengl.c +++ b/modules/video_filter/opengl.c @@ -171,13 +171,8 @@ static int Open( vlc_object_t *obj ) if (sys == NULL) return VLC_ENOMEM; - unsigned width - = filter->fmt_out.video.i_visible_width - = filter->fmt_in.video.i_visible_width; - - unsigned height - = filter->fmt_out.video.i_visible_height - = filter->fmt_in.video.i_visible_height; + unsigned width = filter->fmt_out.video.i_visible_width; + unsigned height = filter->fmt_out.video.i_visible_height; // TODO: other than BGRA format ? #ifdef USE_OPENGL_ES2