1. 02 Dec, 2017 1 commit
  2. 13 Nov, 2017 1 commit
    • Thomas Köppe's avatar
      Fix missing used attribute for inline assembly variables · 43171a2a
      Thomas Köppe authored
      Variables used in inline assembly need to be marked with attribute((used)).
      Static constants already were, via the define of DECLARE_ASM_CONST.
      But DECLARE_ALIGNED does not add this attribute, and some of the variables
      defined with it are const only used in inline assembly, and therefore
      appeared dead. This change adds a macro DECLARE_ASM_ALIGNED that marks
      variables as used.
      
      This change makes FFMPEG work with Clang's ThinLTO.
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      43171a2a
  3. 25 Oct, 2017 1 commit
  4. 26 Apr, 2017 1 commit
    • Anton Khirnov's avatar
      mem: uninline av_malloc(z)_array() · 04b0f0e3
      Anton Khirnov authored
      Inlining public functions hardcodes their implementation into the ABI,
      so it should be avoided unless there is a very good reason for it. No
      such reason exists in this case.
      04b0f0e3
  5. 29 Mar, 2017 1 commit
  6. 23 Aug, 2016 1 commit
    • Michael Niedermayer's avatar
      avutil/mem: remove av_realloc / av_malloc incompatibility warning · 21f70940
      Michael Niedermayer authored
      memalign() is not guranteed to be compatible with free() or realloc()
      and for platforms in this category we have --enable-memalign-hack
      (which should be enabled automatically if such system is detected)
      Trying to somehow half support systems that can free() memalign memory
      but not reallocate it seems not worth the amount of work needed to
      keep 2 then incompatible allocation systems and ensure their
      seperation. That is unless this would affect a major platform
      on which we want to avoid the memalign hack code
      
      The warnings also cause wasted time and effort as people try
      to maintain a separation that does not exist currently.
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      21f70940
  7. 21 Aug, 2016 1 commit
  8. 02 Aug, 2016 1 commit
  9. 21 Jul, 2016 1 commit
    • Martin Storsjö's avatar
      libavutil: Always use some GCC style attributes on clang · f637046d
      Martin Storsjö authored
      Clang normally disguises as GCC (defining __GNUC__), and thus get
      all the normal GCC specific attributes.
      
      Clang can also work as a drop-in replacement for MSVC, and in these
      cases, it doesn't define __GNUC__, but defines _MSC_VER instead.
      
      Even in these setups, it still supports the GCC style attributes,
      thus use them, especially where there isn't any MSVC specific
      version, or where the MSVC specific version doesn't work on clang
      (for DECLARE_ASM_CONST).
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      f637046d
  10. 18 Jul, 2016 1 commit
  11. 18 Nov, 2015 1 commit
  12. 16 Oct, 2015 1 commit
  13. 13 Aug, 2014 1 commit
  14. 04 Aug, 2014 1 commit
  15. 29 Mar, 2014 1 commit
  16. 14 Nov, 2013 1 commit
  17. 26 Oct, 2013 1 commit
  18. 16 Sep, 2013 1 commit
  19. 14 Sep, 2013 1 commit
  20. 05 Sep, 2013 1 commit
  21. 04 Sep, 2013 1 commit
  22. 04 Jun, 2013 1 commit
  23. 13 May, 2013 1 commit
    • Stefano Sabatini's avatar
      lavu/mem: add av_dynarray2_add() · e3984166
      Stefano Sabatini authored
      Based on a patch by Clément Bœsch.
      
      See thread:
      From: Clément Bœsch <ubitux@gmail.com>
      Subject: [FFmpeg-devel] [PATCH 1/5] lavu: add av_dynarray_alloc_elem().
      Date: Sun, 14 Apr 2013 03:07:54 +0200
      e3984166
  24. 10 May, 2013 1 commit
  25. 07 May, 2013 2 commits
  26. 02 May, 2013 1 commit
  27. 25 Oct, 2012 1 commit
  28. 20 Oct, 2012 1 commit
  29. 09 Sep, 2012 1 commit
  30. 15 Aug, 2012 1 commit
  31. 14 Jul, 2012 1 commit
  32. 25 Dec, 2011 1 commit
  33. 22 Nov, 2011 1 commit
  34. 28 Sep, 2011 2 commits
  35. 24 Sep, 2011 1 commit
  36. 15 Jul, 2011 1 commit
  37. 29 Apr, 2011 1 commit
  38. 19 Apr, 2011 1 commit