1. 23 Sep, 2021 1 commit
  2. 18 Sep, 2021 1 commit
  3. 09 Aug, 2021 1 commit
  4. 08 Jul, 2021 1 commit
  5. 07 Jul, 2021 1 commit
  6. 21 Jun, 2021 1 commit
  7. 03 Jun, 2021 1 commit
  8. 01 Jun, 2021 1 commit
  9. 31 May, 2021 1 commit
  10. 30 Apr, 2021 1 commit
  11. 24 Apr, 2021 1 commit
  12. 13 Apr, 2021 2 commits
  13. 16 Mar, 2021 1 commit
  14. 15 Mar, 2021 2 commits
  15. 17 Feb, 2021 2 commits
    • Matthew Waters's avatar
      avviddec: take the maximum of the height/coded_height · 1d33d1c8
      Matthew Waters authored
      Otherwise, some h.264 streams (particularly with cropping information)
      may cause memory corruption after a renegotiation to a smaller size when
      decoded and then ffmpeg writes past the end of the buffer.
      
      Fixes: #80
      Part-of: <!110>
      1d33d1c8
    • Matthew Waters's avatar
      viddec: don't configure and incorrect buffer pool when receiving a gap event · f166c9d2
      Matthew Waters authored
      Scenario is this:
      1. libav receives enough data to want a buffer with get_buffer2()
         which wants a buffer pool with a certain format, say Y42B but does
         not negotiate and therefore GstVideoDecoder does not have any output
         state configured
      2. A gap event is received which GstVideoDecoder wants to forward.  It
         needs caps to forward the gap event so attempts to negotiate with some
         default information which chooses e.g. I420 and overwrites the
         previously configured bufferpool decided on by get_buffer2()
      3. There is a mismatch between what ensure_internal_pool() check for
         consistency and what decide_allocation() sets when overriding the
         internal pool with the downstream pool.
      4. FFMpeg then requests a Y42B buffer from an I420 pool and predictably
         crashes writing past the contents of the buffer
      
      This is fixed by keeping track of the internal pool states correctly.
      
      Part-of: <!116>
      f166c9d2
  16. 03 Feb, 2021 1 commit
  17. 29 Dec, 2020 1 commit
    • Seungha Yang's avatar
      avauddec: Drain decoder on decoding failure · 8f2cab6c
      Seungha Yang authored
      ... and call finish_frame() so that baseclass can reset internal
      status. Otherwise baseclass will keep holding the status for
      decoding failed frame which will result in outputting buffer with
      wrong timestamp.
      
      Part-of: <!112>
      8f2cab6c
  18. 14 Dec, 2020 1 commit
  19. 04 Nov, 2020 1 commit
  20. 27 Oct, 2020 1 commit
    • Arun Raghavan's avatar
      avauddec: Check planar-ness of frame rather than context · b6acd992
      Arun Raghavan authored
      The check seems to be to present to verify that the decoded frame
      matches the format we expect. The actual check for the layout of the
      frame was being performed against the context instead.
      
      The check fails at least for avdec_aptx_hd, where the AVCodecContext has
      the sample format set to AV_SAMPLE_FMT_NONE.
      
      Part-of: <!107>
      b6acd992
  21. 07 Oct, 2020 2 commits
  22. 06 Oct, 2020 1 commit
  23. 01 Oct, 2020 1 commit
  24. 30 Sep, 2020 1 commit
  25. 15 Sep, 2020 1 commit
  26. 14 Sep, 2020 4 commits
  27. 09 Sep, 2020 1 commit
  28. 08 Sep, 2020 2 commits
  29. 07 Sep, 2020 2 commits
  30. 20 Aug, 2020 1 commit
  31. 04 Aug, 2020 1 commit