Change #280908
| Category | ffmpeg |
| Changed by | Kacper Michajłow <kasper93@gmail.com> |
| Changed at | Sun 06 Sep 2026 00:48:25 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | b130b306f4d07acd5efabe9a9d92f6b471df019e |
Comments
avcodec/wavpack: use libswresample for the PCM output Unpack DSD frames into an interleaved scratch buffer and convert to the default AV_SAMPLE_FMT_FLTP output with libswresample instead of the in-place local dsd2pcm conversion. The SwrContext carries the DSD to PCM filter state across frames and replaces the DSDContext array as the RefStruct-shared state for frame threading. If libswresample is disabled, the PCM output is not offered and the decoder outputs only AV_SAMPLE_FMT_DSD. The per-channel slice threading of the float conversion is gone, the conversion now runs in a single swr_convert() call. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Changed files
- libavcodec/wavpack.c
- tests/fate/wavpack.mak