1. 14 Jun, 2017 1 commit
  2. 11 Apr, 2017 1 commit
  3. 10 Apr, 2017 1 commit
  4. 30 Mar, 2017 1 commit
  5. 08 Mar, 2017 2 commits
  6. 26 Feb, 2017 1 commit
  7. 24 Jan, 2017 1 commit
  8. 17 Jan, 2017 1 commit
  9. 12 Jan, 2017 1 commit
  10. 02 Jan, 2017 1 commit
  11. 01 Jan, 2017 1 commit
  12. 31 Dec, 2016 2 commits
  13. 28 Dec, 2016 1 commit
  14. 24 Dec, 2016 1 commit
  15. 23 Dec, 2016 2 commits
  16. 22 Dec, 2016 1 commit
  17. 21 Dec, 2016 1 commit
  18. 20 Dec, 2016 1 commit
  19. 12 Dec, 2016 1 commit
  20. 10 Dec, 2016 3 commits
  21. 08 Dec, 2016 1 commit
    • Wan-Teh Chang's avatar
      avutil: fix data race in av_get_cpu_flags() · 2170017a
      Wan-Teh Chang authored
      Make the one-time initialization in av_get_cpu_flags() thread-safe. The
      static variables |flags|, |cpuflags_mask|, and |checked| in
      libavutil/cpu.c are read and written using normal load and store
      operations. These are considered as data races. The fix is to use atomic
      load and store operations.
      
      Remove the |checked| variable because the invalid value of -1 for
      |flags| can be used to indicate the same condition. Rename |flags| to
      |cpu_flags| and move it to file scope.
      
      The fix can be verified by running the libavutil/tests/cpu_init.c test
      program under ThreadSanitizer:
          ./configure --toolchain=clang-tsan
          make libavutil/tests/cpu_init
          libavutil/tests/cpu_init
      
      There should be no warnings from ThreadSanitizer.
      
      Co-author: Dmitry Vyukov of Google, who suggested the data race fix.
      Signed-off-by: 's avatarWan-Teh Chang <wtc@google.com>
      2170017a
  22. 24 Nov, 2016 1 commit
  23. 23 Nov, 2016 1 commit
  24. 14 Oct, 2016 1 commit
  25. 02 Oct, 2016 1 commit
  26. 19 May, 2016 3 commits
  27. 13 May, 2016 1 commit