summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorGlenn Maynard <g_sf@zewt.org>2003-09-29 00:14:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-09-29 00:14:13 +0000
commit05ab0b76b701bc3f200571f2f3f266d11fbd3253 (patch)
tree0fc08e40ba8dd18660e2dc5bf00834b8c09e9528 /ffplay.c
parentfe0f2a9719838cef7fb740763e5c9c344071d47d (diff)
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
Diffstat (limited to 'ffplay.c')
-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);
}