From b11729f154b7ae90e26a57e9dccccd007620a0be Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 1 Apr 2026 01:08:01 +0200 Subject: [PATCH] avutil/samplefmt: Dont claim that av_get_sample_fmt_string checks sample_fmt Signed-off-by: Michael Niedermayer --- libavutil/samplefmt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavutil/samplefmt.h b/libavutil/samplefmt.h index 43a57a422c..6e55d71140 100644 --- a/libavutil/samplefmt.h +++ b/libavutil/samplefmt.h @@ -122,8 +122,7 @@ enum AVSampleFormat av_get_planar_sample_fmt(enum AVSampleFormat sample_fmt); * @param sample_fmt the number of the sample format to print the * corresponding info string, or a negative value to print the * corresponding header. - * @return the pointer to the filled buffer or NULL if sample_fmt is - * unknown or in case of other errors + * @return the pointer to the filled buffer or NULL in case of other errors */ char *av_get_sample_fmt_string(char *buf, int buf_size, enum AVSampleFormat sample_fmt);