1. 04 Apr, 2012 3 commits
  2. 28 Mar, 2012 1 commit
  3. 18 Mar, 2012 1 commit
  4. 16 Mar, 2012 1 commit
    • Antonio Ospite's avatar
      x11grab: fix a memory leak exposed by valgrind · d3958ab4
      Antonio Ospite authored
      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: 's avatarRonald S. Bultje <rsbultje@gmail.com>
      d3958ab4
  5. 05 Mar, 2012 3 commits
    • Nicolas George's avatar
      alsa: fix timefilter usage. · 456d65a5
      Nicolas George authored
      The period argument is supposed to be the number of samples since
      the last update.
      456d65a5
    • Nicolas George's avatar
      timefilter: allow variable periods. · 9bbe6ed1
      Nicolas George authored
      Initially found and designed by Michael Niedermayer.
      9bbe6ed1
    • Nicolas George's avatar
      timefilter: internally compute feedback factors. · 3073aadf
      Nicolas George authored
      The feedback factors for the timefilter are directly computed from
      the expected period. This commit changes the init function to accept
      the period itself and compute the feedback factors internally,
      rather than having all client code duplicate the formulas.
      
      This commit also actually fixes the formulas: the current code had
      sqrt(2*o), but the correct formula, both theoretically and according
      to experimental testing, is sqrt(2)*o.
      
      Furthermore, it adds an exponential to feedback factors larger than
      1 with large periods.
      3073aadf
  6. 04 Mar, 2012 1 commit
  7. 02 Mar, 2012 1 commit
  8. 28 Feb, 2012 1 commit
  9. 22 Feb, 2012 1 commit
  10. 16 Feb, 2012 1 commit
  11. 10 Feb, 2012 1 commit
  12. 05 Feb, 2012 1 commit
  13. 03 Feb, 2012 2 commits
  14. 02 Feb, 2012 1 commit
  15. 01 Feb, 2012 3 commits
  16. 28 Jan, 2012 2 commits
  17. 27 Jan, 2012 1 commit
  18. 24 Jan, 2012 4 commits
  19. 11 Jan, 2012 1 commit
  20. 10 Jan, 2012 3 commits
  21. 07 Jan, 2012 1 commit
  22. 04 Jan, 2012 6 commits