]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/libebml-win64.patch
avcodec: blacklist WMV2 also, missed that codec previously
[vlc] / extras / contrib / src / Patches / libebml-win64.patch
1 diff -ruN libebml/ebml/EbmlCrc32.h libebml.new/ebml/EbmlCrc32.h
2 --- libebml/ebml/EbmlCrc32.h    2009-08-19 00:48:35.000000000 +0200
3 +++ libebml.new/ebml/EbmlCrc32.h        2009-08-19 00:49:35.000000000 +0200
4 @@ -143,7 +143,7 @@
5  
6  inline bool IsAlignedOn(const void *p, unsigned int alignment)
7  {
8 -       return IsPowerOf2(alignment) ? ModPowerOf2((unsigned long)p, alignment) == 0 : (unsigned long)p % alignment == 0;
9 +       return IsPowerOf2(alignment) ? ModPowerOf2((uintptr_t)p, alignment) == 0 : (uintptr_t)p % alignment == 0;
10  }
11  
12  template <class T>