Commit 829eea48 authored by Tom Paker's avatar Tom Paker Committed by Hiroyuki Ikezoe

Fix crash in rsvg_filter_primitive_component_transfer_render.

Fix for bug #579286.
Set correct fallback transfer funcion.
Some ComponentTransferFunc are not set if the original RGBA
order is used for index because channelmap order is BGRA on x86.
parent 966a269f
......@@ -2060,7 +2060,7 @@ rsvg_filter_primitive_component_transfer_render (RsvgFilterPrimitive *
}
}
if (i == self->super.children->len)
functions[c] = identity_component_transfer_func;
functions[ctx->channelmap[c]] = identity_component_transfer_func;
}
......
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