diff options
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r-- | libvo/vo_sdl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index fcce0be9ff..b68262ffaa 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1638,7 +1638,8 @@ static int preinit(const char *arg) /* initialize the SDL Video system */ if (!SDL_WasInit(SDL_INIT_VIDEO)) { if (SDL_Init (SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE)) { - mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_SDL_InitializingOfSDLFailed, SDL_GetError()); + mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_SDL_InitializationFailed, SDL_GetError()); + return -1; } } |