Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Massimiliano Cristarella
VLC-WinRT
Commits
83344e3a
Commit
83344e3a
authored
Jan 07, 2019
by
Hugo Beauzée-Luyssen
Browse files
Remove upstreamed patch
parent
5e8f9a24
Changes
1
Hide whitespace changes
Inline
Side-by-side
libvlc/patches/0005-core-avcodec-requires-32-bytes-memory-alignment-in-m.patch
deleted
100644 → 0
View file @
5e8f9a24
From 1945d7e8b77624591cafe21d0eba066478de82c9 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@videolabs.io>
Date: Wed, 25 Jan 2017 10:49:37 +0100
Subject: [PATCH 05/30] core: avcodec requires 32-bytes memory alignment in
many cases
For example a IA0L texture on Windows is not 32 bytes aligned and avcodec
complains about it. This will avoid disabling direct rendering in those cases
and reducing memory copies which is even more crucial for high bit depth that
usually come with high definition (4K HEVC 10 bits in this case).
--
replaces https://patches.videolan.org/patch/7971/
---
src/misc/picture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/picture.c b/src/misc/picture.c
index 9a08255e16..c07cdbca56 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -70,7 +70,7 @@
static int AllocatePicture( picture_t *p_pic )
return VLC_ENOMEM;
}
- uint8_t *p_data = aligned_alloc( 16, i_bytes );
+ uint8_t *p_data = aligned_alloc( 32, i_bytes );
if( i_bytes > 0 && p_data == NULL )
{
p_pic->i_planes = 0;
--
2.19.2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment