[vlc-devel] commit: XCB: reject pixmap formats with unknown bit depth ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Apr 17 19:49:56 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 17 20:21:41 2009 +0300| [96bc1b6fb61566e4c8efb8f2e66a6fc2d9c2a260] | committer: Rémi Denis-Courmont
XCB: reject pixmap formats with unknown bit depth
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96bc1b6fb61566e4c8efb8f2e66a6fc2d9c2a260
---
modules/video_output/xcb/x11.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 8cd8afe..375dfd2 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -207,6 +207,8 @@ static int Open (vlc_object_t *obj)
vout->output.i_chroma = gray ? VLC_FOURCC ('G', 'R', 'E', 'Y')
: VLC_FOURCC ('R', 'G', 'B', '2');
break;
+ default:
+ continue;
}
if ((fmt->bits_per_pixel << 4) % fmt->scanline_pad)
continue; /* VLC pads lines to 16 pixels internally */
More information about the vlc-devel
mailing list