projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b03f6
)
registrychunks: Make sure we use aligned memory
author
Edward Hervey
<edward@centricular.com>
Mon, 20 Nov 2017 16:01:04 +0000
(17:01 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 20 Nov 2017 16:01:04 +0000
(17:01 +0100)
This is in the same vein as for all other features. Some systems
might not allow unaligned read.
gst/gstregistrychunks.c
patch
|
blob
|
history
diff --git
a/gst/gstregistrychunks.c
b/gst/gstregistrychunks.c
index
a706859
..
bc86ed6
100644
(file)
--- 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;