diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-06-16 23:21:19 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-06-16 23:21:19 +0200 |
commit | d8ee777021ac251c48274e7fd9864acb9e19a5cb (patch) | |
tree | 982c7900ef052f8621f3eb99c6c6f49fe364c7ec /ffplay.c | |
parent | d5708923c2882b704db48f8a2f6b6afbb9cc7f34 (diff) | |
download | ffmpeg-streaming-d8ee777021ac251c48274e7fd9864acb9e19a5cb.zip ffmpeg-streaming-d8ee777021ac251c48274e7fd9864acb9e19a5cb.tar.gz |
Do not crash if SDL_SetVideoMode() fails.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -945,7 +945,7 @@ static int video_open(VideoState *is){ #endif if (!screen) { fprintf(stderr, "SDL: could not set video mode - exiting\n"); - return -1; + do_exit(); } if (!window_title) window_title = input_filename; |