projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cce1ec5
)
prevent a segfault when trying to start the gui without any
author
Luigi Rizzo
<rizzo@icir.org>
Wed, 2 Jul 2008 09:16:29 +0000
(09:16 +0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Wed, 2 Jul 2008 09:16:29 +0000
(09:16 +0000)
specific configuration in oss.conf
(reported by Klaus Darillion on the -video mailing list).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127330
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/console_video.c
patch
|
blob
|
history
diff --git
a/channels/console_video.c
b/channels/console_video.c
index
a68a930
..
aa81215
100644
(file)
--- a/
channels/console_video.c
+++ b/
channels/console_video.c
@@
-284,7
+284,7
@@
void fbuf_free(struct fbuf_t *b)
*/
int get_gui_startup(struct video_desc* env)
{
- return env->stayopen;
+ return env ? env->stayopen : 0;
}
#if 0