summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index 22136d8393..2a84307857 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -607,7 +607,7 @@ static void draw_oriented_mono_bitmap_part(const unsigned char *src,
607{ 607{
608 const unsigned char *src_end; 608 const unsigned char *src_end;
609 fb_data *dst, *dst_end; 609 fb_data *dst, *dst_end;
610 unsigned fg_pattern, bg_pattern; 610 unsigned fg_pattern;
611 611
612 if (x + width > SCREEN_WIDTH) 612 if (x + width > SCREEN_WIDTH)
613 width = SCREEN_WIDTH - x; /* Clip right */ 613 width = SCREEN_WIDTH - x; /* Clip right */
@@ -623,8 +623,8 @@ static void draw_oriented_mono_bitmap_part(const unsigned char *src,
623 if (height <= 0) 623 if (height <= 0)
624 return; /* nothing left to do */ 624 return; /* nothing left to do */
625 625
626 fg_pattern = rb->lcd_get_foreground(); 626 fg_pattern = rb->lcd_get_foreground();
627 bg_pattern = rb->lcd_get_background(); 627 /*bg_pattern =*/ rb->lcd_get_background();
628 628
629 src += stride * (src_y >> 3) + src_x; /* move starting point */ 629 src += stride * (src_y >> 3) + src_x; /* move starting point */
630 src_y &= 7; 630 src_y &= 7;
@@ -719,7 +719,7 @@ static void draw_oriented_alpha_bitmap_part(const unsigned char *src,
719 int width, int height) 719 int width, int height)
720{ 720{
721 fb_data *dst, *dst_start; 721 fb_data *dst, *dst_start;
722 unsigned fg_pattern, bg_pattern; 722 unsigned fg_pattern;
723 723
724 if (x + width > SCREEN_WIDTH) 724 if (x + width > SCREEN_WIDTH)
725 width = SCREEN_WIDTH - x; /* Clip right */ 725 width = SCREEN_WIDTH - x; /* Clip right */
@@ -738,8 +738,8 @@ static void draw_oriented_alpha_bitmap_part(const unsigned char *src,
738 /* initialize blending */ 738 /* initialize blending */
739 BLEND_INIT; 739 BLEND_INIT;
740 740
741 fg_pattern = rb->lcd_get_foreground(); 741 fg_pattern = rb->lcd_get_foreground();
742 bg_pattern = rb->lcd_get_background(); 742 /*bg_pattern=*/ rb->lcd_get_background();
743 743
744 dst_start = rb->lcd_framebuffer + (LCD_WIDTH - y - 1) + x*LCD_WIDTH; 744 dst_start = rb->lcd_framebuffer + (LCD_WIDTH - y - 1) + x*LCD_WIDTH;
745 int col, row = height; 745 int col, row = height;