mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03: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>