PR #22683 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22683
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22683.patch

Signed-off-by: Michael Niedermayer <[email protected]>


>From f8b6a8a38b6ee3dbcbd1c563a2452f67a0a61d0b Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <[email protected]>
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 <[email protected]>
---
 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);
 
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to