Commit 1fb92cbc authored by michaelni's avatar michaelni

Trivial error reporting patch by (Glenn Maynard <g_sf at zewt dot org>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2b6b26be
......@@ -1715,7 +1715,7 @@ int main(int argc, char **argv)
flags |= SDL_INIT_EVENTTHREAD; /* Not supported on win32 */
#endif
if (SDL_Init (flags)) {
fprintf(stderr, "Could not initialize SDL - exiting\n");
fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
exit(1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment