From d057e7a142a327c653f3f0379014567028448b5d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Jul 2016 20:56:59 +0200 Subject: player: fatal error if linked and compiled FFmpeg versions mismatch We don't support this anymore. This tries to exit in a controlled way after command line options are applied in order to honor logging options and, in case of libmpv, not to kill the host. Not sure if it would be better to just vomit text to stderr and call abort(). --- common/av_log.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/av_log.h') diff --git a/common/av_log.h b/common/av_log.h index 17326b609f..18f7fc9d82 100644 --- a/common/av_log.h +++ b/common/av_log.h @@ -1,8 +1,11 @@ #ifndef MP_AV_LOG_H #define MP_AV_LOG_H + +#include + struct mpv_global; struct mp_log; void init_libav(struct mpv_global *global); void uninit_libav(struct mpv_global *global); -void print_libav_versions(struct mp_log *log, int v); +bool print_libav_versions(struct mp_log *log, int v); #endif -- cgit v1.2.3