From 823bf0029de2e4197129eb7cf714643e0d5ce000 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 18:12:40 +0100 Subject: bitmap_packer: use printf() for fatal message This is printed right before abort(), which is bad style anyway. Converting this to mp_msg will help nobody, and passing through a mp_log is effort. --- video/out/bitmap_packer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/bitmap_packer.c b/video/out/bitmap_packer.c index 35e4f4c176..78af8e648c 100644 --- a/video/out/bitmap_packer.c +++ b/video/out/bitmap_packer.c @@ -21,12 +21,12 @@ #include #include +#include #include #include "talloc.h" #include "bitmap_packer.h" -#include "common/msg.h" #include "common/common.h" #include "sub/dec_sub.h" #include "video/memcpy_pic.h" @@ -141,7 +141,7 @@ int packer_pack(struct bitmap_packer *packer) if (in[i].x <= packer->padding || in[i].y <= packer->padding) in[i] = (struct pos){0, 0}; if (in[i].x < 0 || in [i].x > 65535 || in[i].y < 0 || in[i].y > 65535) { - mp_msg(MSGT_VO, MSGL_FATAL, "Invalid OSD / subtitle bitmap size\n"); + fprintf(stderr, "Invalid OSD / subtitle bitmap size\n"); abort(); } xmax = FFMAX(xmax, in[i].x); -- cgit v1.2.3