Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT* as it's too...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 7 Oct 2008 12:00:49 +0000 (12:00 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 7 Oct 2008 12:00:49 +0000 (12:00 +0000)
commit22dd04f7e037d13a10f78d060a6df8ea59d5bd70
tree2ea5aec1217b633d23fc8497d52ccc9f5a971bc7
parentcabf154dc67e8cc46a17763f2c37d9aebfc40327
Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT* as it's too easy to break the ISO C strict al...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.h:
Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
as it's too easy to break the ISO C strict aliasing rules with simple
casts to the corresponding type and this would introduce hard to debug
bugs. Fixes bug #545714.
API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
ChangeLog
common
docs/gst/gstreamer-sections.txt
gst/gstutils.h