mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 02:02:52 +00:00
7a4c220485
We used to unref the owned AVBufferRef manually but this is actually handled by ffmpeg if you call the right destructor for AVPacket. Do that, remove our internal ownership handling for AvPacket and add a unit test to confirm we don't leak memory. BUG=None TEST=cargo test -p ffmpeg && cargo test --features "video-decoder,ffmpeg" -p devices video Change-Id: I2fbe1c12568ceca0c51013c789c30d6b78059e00 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3813254 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: Tatsuyuki Ishi <ishitatsuyuki@google.com> Commit-Queue: Tatsuyuki Ishi <ishitatsuyuki@google.com> |
||
---|---|---|
.. | ||
ffmpeg | ||
libva | ||
libvda | ||
vp8 |