git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d5700
)
XCB: reject pixmap formats with unknown bit depth
author
Rémi Denis-Courmont
<remi@remlab.net>
Fri, 17 Apr 2009 17:21:41 +0000
(20:21 +0300)
committer
Rémi Denis-Courmont
<remi@remlab.net>
Fri, 17 Apr 2009 17:42:30 +0000
(20:42 +0300)
modules/video_output/xcb/x11.c
patch
|
blob
|
history
diff --git
a/modules/video_output/xcb/x11.c
b/modules/video_output/xcb/x11.c
index
8cd8afe
..
375dfd2
100644
(file)
--- 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 */