diff options
author | phintuka <phintuka> | 2006-08-22 21:09:49 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-08-22 21:09:49 +0000 |
commit | f560346aa8d9c8457ecce62435014255214824c1 (patch) | |
tree | a20398c3627a1e0fbe44f6ba445d4681c2aaeb3b | |
parent | 6457aed01293cd00e9009692e0c5c9c7f09bc442 (diff) | |
download | xineliboutput-f560346aa8d9c8457ecce62435014255214824c1.tar.gz xineliboutput-f560346aa8d9c8457ecce62435014255214824c1.tar.bz2 |
Fix grabbing segfault when there is no local frontend
-rw-r--r-- | device.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |