1. 28 7月, 2012 1 次提交
  2. 17 3月, 2012 1 次提交
    • A
      x11grab: fix a memory leak exposed by valgrind · d3958ab4
      Antonio Ospite 提交于
      When using "-f x11grab -i :0.0" valgrind reports a definitely lost
      memory block with this message:
      
      ==31544== 5 bytes in 1 blocks are definitely lost in loss record 1 of 2
      ==31544==    at 0x4026E68: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==31544==    by 0x4026F17: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==31544==    by 0x60D399A: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
      ==31544==    by 0x60D3A70: av_strdup (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
      ==31544==    by 0x4A2BE58: ??? (in /usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0)
      ==31544==    by 0x506D29E: avformat_open_input (in /usr/lib/x86_64-linux-gnu/libavformat.so.53.21.0)
      ==31544==    by 0x400A80: main (in /home/ao2/WIP/am7xxx-play/tests/a.out)
      
      The 5 bytes lost are the ones from param = av_strdup(":0.0"), so let's
      free param in the exit path.
      
      Also check the av_strdup() return value.
      
      Note: calling av_free(param) even when av_strdup() fails and param is
      NULL is OK and keeps the code simpler without adding another label to
      skip av_free().
      Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com>
      d3958ab4
  3. 29 2月, 2012 1 次提交
  4. 27 1月, 2012 1 次提交
  5. 05 12月, 2011 1 次提交
  6. 01 12月, 2011 1 次提交
  7. 19 10月, 2011 1 次提交
  8. 12 10月, 2011 1 次提交
  9. 24 9月, 2011 1 次提交
  10. 16 8月, 2011 1 次提交
  11. 31 7月, 2011 2 次提交
  12. 09 7月, 2011 1 次提交
  13. 08 7月, 2011 1 次提交
  14. 12 6月, 2011 1 次提交
  15. 05 6月, 2011 2 次提交
  16. 27 5月, 2011 2 次提交
  17. 12 5月, 2011 1 次提交
    • D
      configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. · 046f081b
      Diego Biurrun 提交于
      Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
      since it causes certain system functions to be hidden on some (BSD) systems.
      The solution is to only add the flag on systems that really require it, i.e.
      glibc-based ones.
      
      This change makes BSD systems compile out-of-the-box without the need for
      adding specific flags manually.  It also allows dropping a number of flags
      set manually on a file-per-file basis, but were only present to work around
      breakage introduced by the presence of _POSIX_C_SOURCE.
      
      Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems.  We use XSI extensions
      in several places already, so it is preferable to define it globally instead
      of littering source files with individual #defines only needed for glibc.
      046f081b
  18. 19 3月, 2011 1 次提交
  19. 27 1月, 2011 1 次提交
  20. 08 11月, 2010 1 次提交
    • J
      Make x11grab cursor drawing suck less · 8ce803db
      Jason Garrett-Glaser 提交于
      This new version:
      1.  Works on 24-bit and 32-bit input, not just 32-bit.
      2.  Doesn't try to run on 16-bit or 8-bit, instead of outright crashing.
      3.  Does proper alpha-blending, so cursor shadows look correct.
      4.  Doesn't swap R and B.
      
      Mostly fixes issue 1997.
      Fixes issue 2056.
      
      Originally committed as revision 25690 to svn://svn.ffmpeg.org/ffmpeg/trunk
      8ce803db
  21. 02 7月, 2010 1 次提交
  22. 30 6月, 2010 1 次提交
  23. 22 6月, 2010 1 次提交
  24. 20 4月, 2010 1 次提交
  25. 31 3月, 2010 1 次提交
  26. 24 3月, 2010 1 次提交
  27. 15 12月, 2009 1 次提交
  28. 14 12月, 2009 1 次提交
  29. 28 11月, 2009 3 次提交
  30. 21 7月, 2009 1 次提交
  31. 01 2月, 2009 1 次提交
  32. 14 12月, 2008 1 次提交
  33. 04 6月, 2008 1 次提交
  34. 09 5月, 2008 1 次提交
  35. 24 3月, 2008 1 次提交