gst/gstregistrybinary.c: Align memory to the pointer size instead of always 32 bit...
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 23 Mar 2008 11:23:30 +0000 (11:23 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 23 Mar 2008 11:23:30 +0000 (11:23 +0000)
commit79bd94558c4b7913c93987970e456dfedba2c515
tree38fca7564b0392d1b1ad6a717a58364d42502889
parentb0346dff4402b8c241042c02dd98bf98550829b4
gst/gstregistrybinary.c: Align memory to the pointer size instead of always 32 bit. Fixes unaligned memory accesses o...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
Align memory to the pointer size instead of always 32 bit. Fixes
unaligned memory accesses on ia64 and friends.
* gst/gstregistrybinary.h:
Bump binary registry format version for this as it changes the
format on those architectures that don't have unaligned access
and 64 bit pointers.
ChangeLog
common
gst/gstregistrybinary.c
gst/gstregistrybinary.h