mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
fe0f2a9719
commit
05ab0b76b7
2
ffplay.c
2
ffplay.c
@ -1715,7 +1715,7 @@ int main(int argc, char **argv)
|
|||||||
flags |= SDL_INIT_EVENTTHREAD; /* Not supported on win32 */
|
flags |= SDL_INIT_EVENTTHREAD; /* Not supported on win32 */
|
||||||
#endif
|
#endif
|
||||||
if (SDL_Init (flags)) {
|
if (SDL_Init (flags)) {
|
||||||
fprintf(stderr, "Could not initialize SDL - exiting\n");
|
fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user