[libbluray-devel] graphics_controller: hide missing initializer warning (win32)
hpi1
git at videolan.org
Thu Mar 27 14:51:56 CET 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Mar 27 13:18:00 2014 +0200| [a5b739c1a5edec36956165447d3c442993c5b860] | committer: hpi1
graphics_controller: hide missing initializer warning (win32)
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a5b739c1a5edec36956165447d3c442993c5b860
---
src/libbluray/decoders/graphics_controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 8257aca..1b98cf2 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -1062,7 +1062,7 @@ static int _render_textst(GRAPHICS_CONTROLLER *p, uint32_t stc, GC_NAV_CMDS *cmd
continue;
}
- TEXTST_BITMAP bmp = {NULL, style->text_box.width, style->text_box.height, style->text_box.width};
+ TEXTST_BITMAP bmp = {NULL, style->text_box.width, style->text_box.height, style->text_box.width, 0};
bmp.mem = malloc(bmp.width * bmp.height);
if (bmp.mem) {
memset(bmp.mem, style->region_info.background_color, bmp.width * bmp.height);
More information about the libbluray-devel
mailing list