On 27/11/14 13:13, Martin Storsjö wrote:
On Tue, 25 Nov 2014, Luca Barbato wrote:The segment field in the struct has to be conditionally build as well. --- libavdevice/xcbgrab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 5055fde..9c78c64 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -47,8 +47,9 @@ typedef struct XCBGrabContext { xcb_connection_t *conn; xcb_screen_t *screen; xcb_window_t window; +#if CONFIG_LIBXCB_SHM xcb_shm_seg_t segment; - +#endif int64_t time_frame; AVRational time_base; -- 2.1.0This doesnt seem to be enough, theres another line outside of CONFIG_LIBXCB_SHM as well: c->segment = xcb_generate_id(c->conn);
Thanks for spotting it. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
