]> git.sesse.net Git - vlc/blobdiff - modules/video_output/sdl.c
vmem: remove stub controls
[vlc] / modules / video_output / sdl.c
index a93f20165933ac28848281cdae53efe732f204fa..211ab5cde101cf2110ea8075af5e4a83497b3037 100644 (file)
@@ -164,9 +164,8 @@ static int Open(vlc_object_t *object)
     sys->desktop_height = SDL_GetVideoInfo()->current_h;
 
     /* */
-    video_format_t fmt = vd->fmt;
+    video_format_t fmt;
     video_format_ApplyRotation(&fmt, &vd->fmt);
-    fmt = vd->fmt;
 
     /* */
     vout_display_info_t info = vd->info;