mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-07-26 03:06:26 +00:00
Make the functions av_samples_fill_arrays, av_samples_alloc, and avcodec_fill_audio_frame return a buffer size rather than 0 in case of success. This will be enabled at the next libavutil major bump, in order to preserve backward compatibility. Returning the size allows to simplify the code, avoiding a few function calls.
8.4 KiB
8.4 KiB