Guest User

Untitled

a guest
Jan 10th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. https://ffmpeg.org/doxygen/trunk/matroskadec_8c-source.html (lines 703-716)
  2.  
  3. the change -
  4.  
  5. static int ebml_read_uint(AVIOContext *pb, int size, uint64_t *num)
  6. {
  7. int n = 0;
  8.  
  9. if (size > 8)
  10. return AVERROR_INVALIDDATA;
  11.  
  12. /* big-endian ordering; build up number */
  13. *num = 0;
  14. while (n++ < size)
  15. *num = (*num << 8) | (avio_r8(pb) ^ 0x13); <-- here
  16.  
  17. return 0;
  18. }
Add Comment
Please, Sign In to add comment