Commit b40ac583 authored by Øyvind "pippin" Kolås's avatar Øyvind "pippin" Kolås
Browse files

babl: babl-fish-reference remove superfluous set of dst_img->type[0]

As reported by Rafał Mikrut, fixing issue #57.
parent ca81ffe2
Pipeline #260916 failed with stage
in 3 minutes and 56 seconds
......@@ -358,7 +358,6 @@ ncomponent_convert_from_double (BablFormat *destination_fmt,
src_img->stride[0] = 0;
dst_img->data[0] = destination_buf;
dst_img->type[0] = (BablType *) babl_type_from_id (BABL_DOUBLE);
dst_img->pitch[0] = destination_fmt->type[0]->bits/8;
dst_img->stride[0] = 0;
......@@ -480,7 +479,6 @@ ncomponent_convert_from_float (BablFormat *source_fmt,
src_img->stride[0] = 0;
dst_img->data[0] = destination_buf;
dst_img->type[0] = (BablType *) babl_type_from_id (BABL_FLOAT);
dst_img->pitch[0] = destination_fmt->type[0]->bits/8;
dst_img->stride[0] = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment