diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 21:44:10 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 21:44:10 -0500 |
commit | f5079d780922a2dd8408cd8f3cab98186e05fa88 (patch) | |
tree | 86bc12b00c055b2eb53f806caa9d002b670c9d88 /user/vlc/endian-fix.patch | |
parent | a2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead (diff) | |
download | packages-f5079d780922a2dd8408cd8f3cab98186e05fa88.tar.gz packages-f5079d780922a2dd8408cd8f3cab98186e05fa88.tar.bz2 packages-f5079d780922a2dd8408cd8f3cab98186e05fa88.tar.xz packages-f5079d780922a2dd8408cd8f3cab98186e05fa88.zip |
user/vlc: see commit message
- Use Lua 5.3 instead of 5.2. (One Lua to Rule Them All)
- Enable some more libs that we already ship.
- Disable Wayland.
- Fix video_chroma on big endian.
- Add -lang since we ship gettext-tiny and that means we get
translations now!
- Re-order makedepends to be slightly easier to scan through.
- Take ownership.
- Fix license.
- Modernise style.
- Alphabetise patch list.
- Remove odd whitespace.
Diffstat (limited to 'user/vlc/endian-fix.patch')
-rw-r--r-- | user/vlc/endian-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/vlc/endian-fix.patch b/user/vlc/endian-fix.patch new file mode 100644 index 000000000..872cd0c6a --- /dev/null +++ b/user/vlc/endian-fix.patch @@ -0,0 +1,14 @@ +--- vlc-3.0.3/modules/video_chroma/copy.c.old 2018-04-18 16:19:34.000000000 +0000 ++++ vlc-3.0.3/modules/video_chroma/copy.c 2018-07-22 02:13:19.870000000 +0000 +@@ -1119,7 +1119,11 @@ + vlc_assert_unreachable(); + } + ++#ifndef WORDS_BIGENDIAN + uint32_t color_16_UV = (colors_16_P[2] << 16) | colors_16_P[1]; ++#else ++ uint32_t color_16_UV = (colors_16_P[1] << 16) | colors_16_P[2]; ++#endif + + PICCHECK(uint16_t, uint32_t, colors_16_P, color_16_UV, 2); + } |