[vlc-commits] vout: shrink struct member

Rémi Denis-Courmont git at videolan.org
Mon Jul 31 20:16:27 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 31 21:07:18 2017 +0300| [4b803fc0c5687e2e810063d0a776bf61fb49fda0] | committer: Rémi Denis-Courmont

vout: shrink struct member

This can only take values -1, 0 and 1.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b803fc0c5687e2e810063d0a776bf61fb49fda0
---

 src/video_output/display.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index e2ba863d3f..fa295495c4 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -397,13 +397,12 @@ typedef struct {
     bool ch_fullscreen;
     bool is_fullscreen;
     bool window_fullscreen;
+    signed char fit_window;
 
     bool ch_display_size;
     int  display_width;
     int  display_height;
 
-    int  fit_window;
-
     struct {
         vlc_thread_t thread;
         block_fifo_t *fifo;



More information about the vlc-commits mailing list