diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-08-28 09:38:53 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-09-15 16:36:49 +0100 |
commit | 6fadf448de1cfe1b379b0fff8fa3c0f2eb6a4a79 (patch) | |
tree | 9ce8737a8e714f7ccd1672c3201b6c22009f5f43 | |
parent | a0ebef96372a61f8dc658995fb4f1480512b365b (diff) |
avvidec: increase default alignment to 32 bytes
Change default alignment from 16 to 32 bytes, which fixes crashes
when decoding H.265 using AVX2-based decoder code paths and when
using ximagesink/glimagesink.
https://bugzilla.gnome.org/show_bug.cgi?id=754120
-rw-r--r-- | ext/libav/gstavviddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c index 3bf315e..c6c0d23 100644 --- a/ext/libav/gstavviddec.c +++ b/ext/libav/gstavviddec.c @@ -48,7 +48,7 @@ GST_DEBUG_CATEGORY_EXTERN (GST_CAT_PERFORMANCE); #define DEFAULT_MAX_THREADS 0 #define DEFAULT_OUTPUT_CORRUPT TRUE #define REQUIRED_POOL_MAX_BUFFERS 32 -#define DEFAULT_STRIDE_ALIGN 15 +#define DEFAULT_STRIDE_ALIGN 31 #define DEFAULT_ALLOC_PARAM { 0, DEFAULT_STRIDE_ALIGN, 0, 0, } enum |