diff --git a/ChangeLog b/ChangeLog index 43a8467284..def3d79bf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-24 Tim-Philipp Müller + + * sys/ximage/gstximagesrc.c: (composite_pixel): + Fix presumably copy'n'pasto for 16bpp depth. + 2006-12-24 Tim-Philipp Müller * gst/matroska/matroska-mux.c: diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c index 720c1e3499..95dfae8942 100644 --- a/sys/ximage/gstximagesrc.c +++ b/sys/ximage/gstximagesrc.c @@ -265,7 +265,7 @@ composite_pixel (GstXContext * xcontext, guchar * dest, guchar * src) color = *dest; break; case 16: - color = GUINT16_FROM_LE (*(guint32 *) (dest)); + color = GUINT16_FROM_LE (*(guint16 *) (dest)); break; case 32: color = GUINT32_FROM_LE (*(guint32 *) (dest));