1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Hint why SDL_Init() may have failed.

This commit is contained in:
Carl Eugen Hoyos 2011-07-10 21:11:37 +02:00
parent fb464fca44
commit 3743ea1fe3

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