patch-tools_depends_native_TexturePacker_src_decoder_GifHelper_cpp 539 B

123456789101112131415
  1. --- xbmc-19.3-Matrix.orig/tools/depends/native/TexturePacker/src/decoder/GifHelper.cpp 2021-10-24 12:09:58.000000000 +0200
  2. +++ xbmc-19.3-Matrix/tools/depends/native/TexturePacker/src/decoder/GifHelper.cpp 2022-02-26 00:09:15.499548854 +0100
  3. @@ -18,11 +18,11 @@
  4. *
  5. */
  6. -#include "GifHelper.h"
  7. #include <algorithm>
  8. #include <cstdlib>
  9. #include <cstring>
  10. +#include "GifHelper.h"
  11. #define UNSIGNED_LITTLE_ENDIAN(lo, hi) ((lo) | ((hi) << 8))
  12. #define GIF_MAX_MEMORY 82944000U // about 79 MB, which is equivalent to 10 full hd frames.