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:
fb464fc
)
Hint why SDL_Init() may have failed.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 10 Jul 2011 19:11:37 +0000
(21:11 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 10 Jul 2011 19:11:37 +0000
(21:11 +0200)
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
a8be6be
..
40e0cc1
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-3027,6
+3027,7
@@
int main(int argc, char **argv)
#endif
if (SDL_Init (flags)) {
fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
+ fprintf(stderr, "(Did you set the DISPLAY variable?)\n");
exit(1);
}