[vlc-commits] XCB/X11: remove write only value

Rémi Denis-Courmont git at videolan.org
Mon Feb 14 18:41:37 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 14 19:41:23 2011 +0200| [c4b07d18b4aa790688e3a9b56ddea2e400536e74] | committer: Rémi Denis-Courmont

XCB/X11: remove write only value

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

 modules/video_output/xcb/x11.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index f674fcd..83da756 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -74,7 +74,6 @@ struct vout_display_sys_t
     uint8_t bpp; /* bits per pixel */
     uint8_t pad; /* scanline pad */
     uint8_t depth; /* useful bits per pixel */
-    uint8_t byte_order; /* server byte order */
 
     picture_pool_t *pool; /* picture pool */
     picture_resource_t resource[MAX_PICTURES];
@@ -126,7 +125,6 @@ static int Open (vlc_object_t *obj)
     }
 
     const xcb_setup_t *setup = xcb_get_setup (p_sys->conn);
-    p_sys->byte_order = setup->image_byte_order;
 
     /* Determine our pixel format */
     xcb_visualid_t vid = 0;



More information about the vlc-commits mailing list