summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/bitmap_packer.c4
1 files 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 <stdlib.h>
#include <assert.h>
+#include <stdio.h>
#include <libavutil/common.h>
#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);