summaryrefslogtreecommitdiffstats
path: root/libvo/vo_md5sum.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-12 14:50:54 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-12 14:57:18 +0300
commit8685eea8c2047036f147ca3b6ef1eb0b2354bebb (patch)
tree62f498573bb7b51151e505628c7639bcb1e64de7 /libvo/vo_md5sum.c
parent9f7c6291a525b62628360166f8313db6904fb44e (diff)
downloadmpv-8685eea8c2047036f147ca3b6ef1eb0b2354bebb.tar.bz2
mpv-8685eea8c2047036f147ca3b6ef1eb0b2354bebb.tar.xz
Rename exit_player() use outside core to exit_player_bad()
The VOs which use it shouldn't really exit the whole program. The renaming will allow including mplayer.h in mplayer.c without clashing with the static exit_player() there.
Diffstat (limited to 'libvo/vo_md5sum.c')
-rw-r--r--libvo/vo_md5sum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_md5sum.c b/libvo/vo_md5sum.c
index b035a5b8a0..4eae0fb11b 100644
--- a/libvo/vo_md5sum.c
+++ b/libvo/vo_md5sum.c
@@ -40,7 +40,7 @@
#include "mp_msg.h"
#include "video_out.h"
#include "video_out_internal.h"
-#include "mplayer.h" /* for exit_player() */
+#include "mplayer.h" /* for exit_player_bad() */
#include "help_mp.h"
#include "libavutil/md5.h"
@@ -86,7 +86,7 @@ int framenum = 0;
static void md5sum_write_error(void) {
mp_msg(MSGT_VO, MSGL_ERR, MSGTR_ErrorWritingFile, info.short_name);
- exit_player(MSGTR_Exit_error);
+ exit_player_bad(MSGTR_Exit_error);
}
/* ------------------------------------------------------------------------- */
@@ -152,7 +152,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
MSGTR_VO_CantCreateFile);
mp_msg(MSGT_VO, MSGL_ERR, "%s: %s: %s\n",
info.short_name, MSGTR_VO_GenericError, strerror(errno) );
- exit_player(MSGTR_Exit_error);
+ exit_player_bad(MSGTR_Exit_error);
}
return 0;