From 05ab0b76b701bc3f200571f2f3f266d11fbd3253 Mon Sep 17 00:00:00 2001
From: Glenn Maynard <g_sf@zewt.org>
Date: Mon, 29 Sep 2003 00:14:13 +0000
Subject: [PATCH] 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
---
 ffplay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 5bf7e52b2d5..13a96e41121 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);
     }
 
-- 
GitLab