OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d570892
)
Do not crash if SDL_SetVideoMode() fails.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 16 Jun 2011 21:21:19 +0000
(23:21 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 16 Jun 2011 21:21:19 +0000
(23:21 +0200)
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
fa23884
..
31a6832
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-945,7
+945,7
@@
static int video_open(VideoState *is){
#endif
if (!screen) {
fprintf(stderr, "SDL: could not set video mode - exiting\n");
-
return -1
;
+
do_exit()
;
}
if (!window_title)
window_title = input_filename;