glstereomix: remove redundant initialization
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 29 Jul 2015 16:48:58 +0000 (17:48 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:07 +0000 (19:32 +0000)
v is initialized in the for loop init, no need to do it twice. Removing
first initialization.

ext/gl/gstglstereomix.c

index 1422823..731569a 100644 (file)
@@ -574,7 +574,6 @@ gst_gl_stereo_mix_process_frames (GstGLStereoMix * mixer, GPtrArray * frames)
     return FALSE;
 
   converted_buffer = mixer->primary_out;
-  v = 0;
   n = gst_buffer_n_memory (converted_buffer);
   g_assert (n == GST_VIDEO_INFO_N_PLANES (out_info) * views);
   for (v = 0; v < views; v++) {