summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-06-07 00:39:02 -0300
committerJames Almer <jamrial@gmail.com>2021-06-13 16:10:37 -0300
commit7916c1471318f17332ff4c7ee7e330696a7afcbf (patch)
tree96fcbabbdc31d610dc979040b85e23f9809b6ad3 /libavutil
parent163559ed6206155bb997ff8f283e343e778e4118 (diff)
avutil/samplefmt: remove outdated comment
av_samples_fill_arrays() has been returning the minimum required buffer size for a while now. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/samplefmt.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavutil/samplefmt.h b/libavutil/samplefmt.h
index 8cd43ae856..f270199195 100644
--- a/libavutil/samplefmt.h
+++ b/libavutil/samplefmt.h
@@ -195,9 +195,8 @@ int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
* @param nb_samples the number of samples in a single channel
* @param sample_fmt the sample format
* @param align buffer size alignment (0 = default, 1 = no alignment)
- * @return >=0 on success or a negative error code on failure
- * @todo return minimum size in bytes required for the buffer in case
- * of success at the next bump
+ * @return minimum size in bytes required for the buffer on success,
+ * or a negative error code on failure
*/
int av_samples_fill_arrays(uint8_t **audio_data, int *linesize,
const uint8_t *buf,