summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-06 15:04:29 +0100
committerwm4 <wm4@nowhere>2015-01-06 16:50:58 +0100
commita52ca8a2b075388dc7dd5012e4e3f4871e26b133 (patch)
tree8a29d2451c9763d425e37ba6501644a0f3d06bdb /sub/draw_bmp.c
parent02362f938f0a782a39e4c069b150650fb4171dc7 (diff)
downloadmpv-a52ca8a2b075388dc7dd5012e4e3f4871e26b133.tar.bz2
mpv-a52ca8a2b075388dc7dd5012e4e3f4871e26b133.tar.xz
csputils: get rid of mp_csp_details
It used to be central, but now it's just unneeded.
Diffstat (limited to 'sub/draw_bmp.c')
-rw-r--r--sub/draw_bmp.c6
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;