From f560346aa8d9c8457ecce62435014255214824c1 Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 22 Aug 2006 21:09:49 +0000 Subject: Fix grabbing segfault when there is no local frontend --- device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.c b/device.c index 05b92dfb..bc346783 100644 --- a/device.c +++ b/device.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: device.c,v 1.13 2006-08-22 03:45:34 phintuka Exp $ + * $Id: device.c,v 1.14 2006-08-22 21:09:49 phintuka Exp $ * */ @@ -1190,7 +1190,7 @@ uchar *cXinelibDevice::GrabImage(int &Size, bool Jpeg, if(m_local) return m_local->GrabImage(Size, Jpeg, Quality, SizeX, SizeY); if(m_server) - return m_local->GrabImage(Size, Jpeg, Quality, SizeX, SizeY); + return m_server->GrabImage(Size, Jpeg, Quality, SizeX, SizeY); return NULL; } -- cgit v1.2.3