1. 27 Apr, 2021 1 commit
  2. 13 Apr, 2021 2 commits
  3. 15 Mar, 2021 3 commits
  4. 17 Feb, 2021 2 commits
    • Matthew Waters's avatar
      avviddec: take the maximum of the height/coded_height · aacec2cf
      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: <!118>
      aacec2cf
    • Matthew Waters's avatar
      viddec: don't configure and incorrect buffer pool when receiving a gap event · 3d7ace81
      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: <!117>
      3d7ace81
  5. 14 Jan, 2021 1 commit
  6. 13 Jan, 2021 1 commit
  7. 03 Jan, 2021 1 commit
    • Seungha Yang's avatar
      avauddec: Drain decoder on decoding failure · b08d11fb
      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: <!113>
      b08d11fb
  8. 06 Dec, 2020 2 commits
  9. 29 Oct, 2020 1 commit
    • Arun Raghavan's avatar
      avauddec: Check planar-ness of frame rather than context · b16d1e80
      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: <!108>
      b16d1e80
  10. 27 Oct, 2020 1 commit
  11. 26 Oct, 2020 1 commit
  12. 12 Oct, 2020 3 commits
  13. 30 Sep, 2020 6 commits
  14. 08 Sep, 2020 1 commit
  15. 07 Sep, 2020 2 commits
  16. 20 Aug, 2020 1 commit
  17. 04 Aug, 2020 1 commit
  18. 23 Jul, 2020 2 commits
  19. 08 Jul, 2020 1 commit
  20. 06 Jul, 2020 1 commit
  21. 03 Jul, 2020 2 commits
  22. 02 Jul, 2020 1 commit
  23. 30 Jun, 2020 1 commit
  24. 26 Jun, 2020 1 commit
  25. 23 Jun, 2020 1 commit