summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/draw_bmp.c')
-rw-r--r--sub/draw_bmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/draw_bmp.c b/sub/draw_bmp.c
index 9945a8fc89..5adc446ba6 100644
--- a/sub/draw_bmp.c
+++ b/sub/draw_bmp.c
@@ -511,7 +511,8 @@ void mp_draw_sub_bitmaps(struct mp_draw_sub_cache **cache, struct mp_image *dst,
bits = 16;
break;
}
- }
+ } else
+ bits = 16;
}
#else
int format = IMGFMT_444P;