diff options
author | Edward Hervey <edward@centricular.com> | 2017-11-20 17:01:04 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-03-18 10:39:59 +0200 |
commit | 0280dc1fb9a0b92a1a19c9ffe0931373ecedfa83 (patch) | |
tree | 1eb4f1a59cd2a0101b7d1f8f58c1cadbf1ee9a06 | |
parent | c28a2c31d41020ed17fde7562cf98899141eb6fa (diff) | |
download | gstreamer-0280dc1fb9a0b92a1a19c9ffe0931373ecedfa83.tar.gz |
registrychunks: Make sure we use aligned memory
This is in the same vein as for all other features. Some systems
might not allow unaligned read.
-rw-r--r-- | gst/gstregistrychunks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstregistrychunks.c b/gst/gstregistrychunks.c index a706859f9f..bc86ed6f76 100644 --- a/gst/gstregistrychunks.c +++ b/gst/gstregistrychunks.c @@ -709,6 +709,7 @@ gst_registry_chunks_load_feature (GstRegistry * registry, gchar ** in, } else if (GST_IS_DYNAMIC_TYPE_FACTORY (feature)) { GstRegistryChunkDynamicTypeFactory *tmp; + align (*in); unpack_element (*in, tmp, GstRegistryChunkDynamicTypeFactory, end, fail); pf = (GstRegistryChunkPluginFeature *) tmp; |