1. 05 Jul, 2019 3 commits
    • Henrik Gramner's avatar
      Improve robustness of handling malloc failures · e2e56ab9
      Henrik Gramner authored
      Calling dav1d_get_picture() again after it has already returned with
      an error due to a memory allocation failure could result in crashes.
      
      Although doing so is not a proper API usage, and the outcome is going
      to be unpredictable, we should at least try to avoid crashing.
      e2e56ab9
    • Henrik Gramner's avatar
      Correctly return an error on malloc failure · c1a28d0e
      Henrik Gramner authored
      dav1d_submit_frame() could erroneously return 0 when tile data memory
      allocation failed.
      
      Fixes an assertion failure in dav1d_parse_obus().
      c1a28d0e
    • Henrik Gramner's avatar
      Fix potential memory leak · 0435ec9c
      Henrik Gramner authored
      In the (very unlikely) scenario of a pthread mutex/cond init failure
      in the tile state reallocation code some newly allocated mutexes/conds
      could leak.
      0435ec9c
  2. 02 Jul, 2019 2 commits
  3. 08 May, 2019 1 commit
  4. 07 May, 2019 1 commit
  5. 17 Apr, 2019 1 commit
    • Ronald S. Bultje's avatar
      Over-allocate level array by 3-bytes · 36e1490b
      Ronald S. Bultje authored
      This is a workaround so that the AVX2 implementation of deblock can
      index the levels array starting from the level type, which causes it
      to over-read by up to 3 bytes. This is intended to fix #269.
      36e1490b
  6. 15 Apr, 2019 1 commit
  7. 16 Mar, 2019 2 commits
  8. 20 Feb, 2019 1 commit
  9. 17 Feb, 2019 1 commit
  10. 15 Feb, 2019 1 commit
  11. 12 Feb, 2019 1 commit
  12. 09 Feb, 2019 1 commit
  13. 08 Feb, 2019 1 commit
    • James Almer's avatar
      Simplify dav1d_thread_picture_alloc() · 515f5af5
      James Almer authored
      It's called from a single function in the entire codebase, so no point
      passing so many individual arguments to it when almost all of them are
      derived from a single struct.
      515f5af5
  14. 07 Feb, 2019 1 commit
  15. 28 Jan, 2019 1 commit
  16. 25 Jan, 2019 2 commits
  17. 15 Jan, 2019 1 commit
  18. 11 Jan, 2019 1 commit
  19. 05 Jan, 2019 1 commit
  20. 20 Dec, 2018 2 commits
  21. 18 Dec, 2018 1 commit
  22. 15 Dec, 2018 1 commit
    • Janne Grunau's avatar
      intrabc: use visible width/height in mv correction · 7677c120
      Janne Grunau authored
      Prevents adjusting intra block copy motion vectors to values pointing
      out of the current tile. This happens with not entirely visible blocks in
      a one super block wide/high tile. Fixes an use of uninitilized value in
      inv_txfm_add_c() with
      clusterfuzz-testcase-minimized-dav1d_fuzzer_mt-5746740678885376. Credits
      to oss-fuzz.
      7677c120
  23. 09 Dec, 2018 1 commit
    • Ronald S. Bultje's avatar
      Make static CDF tables source directly from rodata · 0f7a97ba
      Ronald S. Bultje authored
      Fixes #57, removes one rodata duplicate (vertical mv component is
      identical to horizontal one), and removes memcpy() of rodata tables
      to the source Dav1dThreadCdfContext for each frame where primary_ref
      is PRIMARY_REF_NONE.
      0f7a97ba
  24. 08 Dec, 2018 4 commits
  25. 05 Dec, 2018 1 commit
  26. 03 Dec, 2018 1 commit
  27. 28 Nov, 2018 2 commits
  28. 25 Nov, 2018 3 commits