mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 13:28:17 +00:00
When resampling first, a call that produced no output passed midbuf to swri_rematrix() before it was ever allocated, and copied channels did a memcpy() of zero bytes from NULL. Skip rematrixing zero samples, as the output conversion already does. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>