Browse Source

Hint why SDL_Init() may have failed.

tags/n0.9
Carl Eugen Hoyos 14 years ago
parent
commit
3743ea1fe3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffplay.c

+ 1
- 0
ffplay.c View File

@@ -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);
}



Loading…
Cancel
Save