1. 10 Jul, 2012 1 commit
  2. 19 Jun, 2012 1 commit
  3. 10 Apr, 2012 1 commit
    • Martin Storsjö's avatar
      mem: Consistently return NULL for av_malloc(0) · 14f063d2
      Martin Storsjö authored
      Plain POSIX malloc(0) is allowed to return either NULL or a
      non-NULL pointer. The calling code should be ready to handle
      a NULL return as a correct return (instead of a failure) if the size
      to allocate was 0 - this makes sure the condition is handled
      in a consistent way across platforms.
      
      This also avoids calling posix_memalign(&ptr, 32, 0) on OS X,
      which returns an invalid pointer (a non-NULL pointer that causes
      crashes when passed to av_free).
      
      Abort in debug mode, to help track down issues related to
      incorrect handling of this case.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      14f063d2
  4. 28 Jan, 2012 1 commit
  5. 26 Apr, 2011 1 commit
  6. 19 Apr, 2011 1 commit
  7. 19 Mar, 2011 1 commit
  8. 03 Feb, 2011 1 commit
  9. 04 Dec, 2010 1 commit
  10. 20 Apr, 2010 1 commit
  11. 28 Jan, 2010 1 commit
  12. 21 Feb, 2009 1 commit
  13. 01 Feb, 2009 1 commit
  14. 28 Jan, 2009 1 commit
  15. 25 Jan, 2009 3 commits
  16. 24 Jan, 2009 1 commit
  17. 19 Jan, 2009 1 commit
  18. 13 Jan, 2009 1 commit
  19. 07 Jan, 2009 1 commit
  20. 23 May, 2008 2 commits
  21. 03 Apr, 2008 2 commits
  22. 12 Mar, 2008 1 commit
  23. 10 Mar, 2008 1 commit
  24. 14 Feb, 2008 1 commit
  25. 05 Mar, 2007 4 commits
  26. 24 Feb, 2007 1 commit
  27. 14 Nov, 2006 1 commit
  28. 07 Oct, 2006 1 commit
  29. 25 Sep, 2006 1 commit
  30. 17 Aug, 2006 1 commit
  31. 13 Aug, 2006 2 commits
  32. 19 Jul, 2006 1 commit