[FFmpeg-devel] [PATCH 2/4] avfilter/formats: Update outdated comment

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Sep 27 06:00:01 EEST 2021


Forgotten in 06754f7bbf341062581accc27b5cce353e99fd82.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavfilter/formats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index 29e318aa3b..ec3b8ebd8d 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -58,7 +58,7 @@ do {                                                                       \
  * If check is set, nothing is modified and it is only checked whether
  * the formats are compatible.
  * If empty_allowed is set and one of a,b->nb is zero, the lists are
- * merged; otherwise, it is treated as error.
+ * merged; otherwise, 0 (for nonmergeability) is returned.
  */
 #define MERGE_FORMATS(a, b, fmts, nb, type, check, empty_allowed)          \
 do {                                                                       \
-- 
2.30.2



More information about the ffmpeg-devel mailing list