Commit 3d1e70c2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

sys/ximage/gstximagesrc.c: Fix presumably copy'n'pasto for 16bpp depth.

Original commit message from CVS:
* sys/ximage/gstximagesrc.c: (composite_pixel):
Fix presumably copy'n'pasto for 16bpp depth.
parent 7735292e
2006-12-24 Tim-Philipp Müller <tim at centricular dot net>
* sys/ximage/gstximagesrc.c: (composite_pixel):
Fix presumably copy'n'pasto for 16bpp depth.
2006-12-24 Tim-Philipp Müller <tim at centricular dot net>
* gst/matroska/matroska-mux.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));
......
Supports Markdown
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