Skip to content
Snippets Groups Projects
Commit 05ab0b76 authored by Glenn Maynard's avatar Glenn Maynard Committed by Michael Niedermayer
Browse files

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

Originally committed as revision 2316 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fe0f2a97
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment