mirror of https://github.com/FFmpeg/FFmpeg.git
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.pull/8/head
parent
329b8f85b0
commit
b473c9937e
4 changed files with 19 additions and 3 deletions
Loading…
Reference in new issue