Skip to content
Snippets Groups Projects
  1. Aug 03, 2016
  2. Aug 02, 2016
  3. Oct 30, 2015
    • Ganesh Ajjanagadde's avatar
      avutil/mathematics: correct documentation for av_gcd · 20a30077
      Ganesh Ajjanagadde authored
      
      av_gcd is now always defined regardless of input. This documents this
      change in the "documented API". Two benefits (closely related):
      1. The function is robust, and there is no need to worry about INT64_MIN, etc.
      
      2. Clients of av_gcd, like av_reduce, can now be made fully correct. Currently,
      av_reduce can trigger undefined behavior if e.g num is INT64_MIN due to
      integer overflow in the FFABS. Furthermore, this undefined behavior is
      completely undocumented, and could be a fuzzer's paradise. The FFABS was needed in the past as
      av_gcd was undefined for negative inputs. In order to make av_reduce
      robust, it is essential to guarantee that av_gcd works for all int64_t.
      
      Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
      Signed-off-by: default avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
      20a30077
  4. Jun 03, 2014
  5. Feb 03, 2014
  6. Jan 04, 2014
  7. Jan 03, 2014
  8. Jan 02, 2013
  9. Oct 27, 2012
  10. Oct 26, 2012
  11. Jul 01, 2012
  12. Jun 22, 2012
  13. Jun 20, 2012
    • Janne Grunau's avatar
      mathematics.h: remove a couple of math defines · a2b186a1
      Janne Grunau authored
      While these defines are not defined by the C standard they are
      standardized as X/Open System Interfaces Extension. We use the
      appropiate _XOPEN_SOURCE define to make them available. They
      seem to be available on all FATE configs since the constants
      are used in files where mathematics.h is not included.
      a2b186a1
  14. Feb 20, 2012
  15. Nov 22, 2011
  16. Mar 19, 2011
  17. Jul 22, 2010
  18. Jun 30, 2010
  19. Jun 13, 2010
  20. Jun 09, 2010
  21. Apr 09, 2010
  22. Mar 30, 2010
  23. Mar 09, 2010
  24. Feb 21, 2010
  25. Feb 20, 2010
  26. Feb 07, 2010
  27. Dec 27, 2009
  28. Aug 10, 2009
  29. Jan 28, 2009
  30. Jan 17, 2009
  31. Aug 31, 2008
  32. Aug 13, 2008
  33. Mar 19, 2008
  34. Mar 18, 2008
Loading