diff options
Diffstat (limited to 'sub/draw_bmp.c')
-rw-r--r-- | sub/draw_bmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sub/draw_bmp.c b/sub/draw_bmp.c index 041e0a70e0..dfbdb340b2 100644 --- a/sub/draw_bmp.c +++ b/sub/draw_bmp.c @@ -289,9 +289,9 @@ static void draw_ass(struct mp_draw_sub_cache *cache, struct mp_rect bb, struct mp_image *temp, int bits, struct sub_bitmaps *sbs) { struct mp_csp_params cspar = MP_CSP_PARAMS_DEFAULTS; - cspar.colorspace.format = temp->params.colorspace; - cspar.colorspace.levels_in = temp->params.colorlevels; - cspar.colorspace.levels_out = MP_CSP_LEVELS_PC; // RGB (libass.color) + cspar.colorspace = temp->params.colorspace; + cspar.levels_in = temp->params.colorlevels; + cspar.levels_out = MP_CSP_LEVELS_PC; // RGB (libass.color) cspar.int_bits_in = bits; cspar.int_bits_out = 8; |