diff options
Diffstat (limited to 'src/memdmp/vlc4/big-endian.patch')
-rw-r--r-- | src/memdmp/vlc4/big-endian.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/memdmp/vlc4/big-endian.patch b/src/memdmp/vlc4/big-endian.patch new file mode 100644 index 0000000..acb6676 --- /dev/null +++ b/src/memdmp/vlc4/big-endian.patch @@ -0,0 +1,16 @@ +Patch-Source: https://git.adelielinux.org/adelie/packages/-/blob/c543943fea431ad69f2447a4fafc1d17957aff46/user/vlc/endian-fix.patch + +--- 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); + } |