summaryrefslogtreecommitdiffstats
path: root/libvo/sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/sub.c')
-rw-r--r--libvo/sub.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/sub.c b/libvo/sub.c
index a7a2ec1b7b..fe9385ba93 100644
--- a/libvo/sub.c
+++ b/libvo/sub.c
@@ -40,8 +40,8 @@ int sub_pos=100;
int sub_width_p=100;
int sub_alignment=0; /* 0=top, 1=center, 2=bottom */
int sub_visibility=1;
-int sub_bkg_color=0; /* subtitles background color */
-int sub_bkg_alpha=0;
+int sub_bg_color=0; /* subtitles background color */
+int sub_bg_alpha=0;
// return the real height of a char:
static inline int get_height(int c,int h){
@@ -99,8 +99,8 @@ static void alloc_buf(mp_osd_obj_t* obj)
obj->bitmap_buffer = (unsigned char *)memalign(16, len);
obj->alpha_buffer = (unsigned char *)memalign(16, len);
}
- memset(obj->bitmap_buffer, sub_bkg_color, len);
- memset(obj->alpha_buffer, sub_bkg_alpha, len);
+ memset(obj->bitmap_buffer, sub_bg_color, len);
+ memset(obj->alpha_buffer, sub_bg_alpha, len);
}
// renders the buffer