gst/gstregistrybinary.*: Add crc32 checksum to the binary registry file and check...
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 16 Apr 2008 14:18:58 +0000 (14:18 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 16 Apr 2008 14:18:58 +0000 (14:18 +0000)
commit550392c6da5f7d7ab10d78de3373f2cbc61a046c
tree5c6b802b2873dd8292d05e71cf959b18ea265061
parentdc71d29b62b057d2fa82cb6fb007d8f930b9db3f
gst/gstregistrybinary.*: Add crc32 checksum to the binary registry file and check this before accepting a registry file.

Original commit message from CVS:
* gst/gstregistrybinary.c: (_gst_crc32),
(gst_registry_binary_write),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Add crc32 checksum to the binary registry file and check this before
accepting a registry file.
Also free the data list when writing to the registry file fails.
ChangeLog
gst/gstregistrybinary.c
gst/gstregistrybinary.h