diff options
author | Grigori Goronzy <greg@blackbox> | 2009-06-27 05:45:02 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-06-27 06:46:19 +0200 |
commit | 3060fc2e6547cac9eea0dc2d33ad5e65d3b4125f (patch) | |
tree | 1ff3ed2bf0b8cb52ec279603b5ff575911988665 /libass/ass_bitmap.c | |
parent | a4c7c0f2665bbda6bbe013b2f4a9582387b168e7 (diff) | |
download | libass-3060fc2e6547cac9eea0dc2d33ad5e65d3b4125f.tar.bz2 libass-3060fc2e6547cac9eea0dc2d33ad5e65d3b4125f.tar.xz |
Rename mp_msg to ass_msg
Diffstat (limited to 'libass/ass_bitmap.c')
-rw-r--r-- | libass/ass_bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index 8df24f6..75281db 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -173,7 +173,7 @@ static int check_glyph_area(FT_Glyph glyph) dx = bbox.xMax - bbox.xMin; dy = bbox.yMax - bbox.yMin; if (dx * dy > 8000000) { - mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_GlyphBBoxTooLarge, + ass_msg(MSGL_WARN, MSGTR_LIBASS_GlyphBBoxTooLarge, (int) dx, (int) dy); return 1; } else @@ -195,7 +195,7 @@ static bitmap_t *glyph_to_bitmap_internal(FT_Glyph glyph, int bord) return 0; error = FT_Glyph_To_Bitmap(&glyph, FT_RENDER_MODE_NORMAL, 0, 0); if (error) { - mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_FT_Glyph_To_BitmapError, + ass_msg(MSGL_WARN, MSGTR_LIBASS_FT_Glyph_To_BitmapError, error); return 0; } @@ -203,7 +203,7 @@ static bitmap_t *glyph_to_bitmap_internal(FT_Glyph glyph, int bord) bg = (FT_BitmapGlyph) glyph; bit = &(bg->bitmap); if (bit->pixel_mode != FT_PIXEL_MODE_GRAY) { - mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_UnsupportedPixelMode, + ass_msg(MSGL_WARN, MSGTR_LIBASS_UnsupportedPixelMode, (int) (bit->pixel_mode)); FT_Done_Glyph(glyph); return 0; |