summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 5bf7e52b2d..13a96e4112 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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);
}