[gst-cvs] gstreamer: value: Fixed serialization for short fourccs.

David Schleef ds at entropywave.com
Sun Jun 13 14:31:44 PDT 2010


On Fri, Jun 11, 2010 at 11:08:12PM -0700, Sebastian Dröge wrote:
> Module: gstreamer
> Branch: master
> Commit: ab0763f0e8461c569dfbff8a0f049454070d14b5
> URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=ab0763f0e8461c569dfbff8a0f049454070d14b5
> 
> Author: Martin Bisson <martin.bisson at gmail.com>
> Date:   Fri Jun 11 22:56:13 2010 +0000

> +  gchar fourcc_char[4] = {
> +    (fourcc >> 0) & 0xff,
> +    (fourcc >> 8) & 0xff,
> +    (fourcc >> 16) & 0xff,
> +    (fourcc >> 24) & 0xff

This is a gcc extension.  Unfortunate, since initializing arrays
seems really obvious.



dave...





More information about the Gstreamer-commits mailing list