gst/gstregistrybinary.c: Rename constant everywhere and don't forget one occurence.
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 23 Mar 2008 11:40:54 +0000 (11:40 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 23 Mar 2008 11:40:54 +0000 (11:40 +0000)
Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write):
Rename constant everywhere and don't forget one occurence.

ChangeLog
gst/gstregistrybinary.c

index 2672ac8..eb2885a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * gst/gstregistrybinary.c: (gst_registry_binary_write):
+       Rename constant everywhere and don't forget one occurence.
+
+2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * gst/gstregistrybinary.c: (gst_registry_binary_write):
        Align memory to the pointer size even if the architecture allows
        unaligned memory access. Unaligned memory access usually comes with
        performance penality.
index e3736c5..112b7f1 100644 (file)
@@ -106,7 +106,7 @@ inline static gboolean
 gst_registry_binary_write (GstRegistry * registry, const void *mem,
     const gssize size, unsigned long *file_position, gboolean align)
 {
-  gchar padder[ALIGN] = { 0, };
+  gchar padder[ALIGNMENT] = { 0, };
   int padsize = 0;
 
   /* Padding to insert the struct that requiere word alignment */