[FFmpeg-devel] [PATCH] j'ai ajouté un doxy buggé (PR #20112)

Dummy_test_user code at ffmpeg.org
Mon Aug 4 17:38:59 EEST 2025


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

I did that pull request to see what is preventing me from submitting crappy code.
Apparently nothing.


>From a7cb339395ab3b81f38dfd5a4f19de02aef7dc35 Mon Sep 17 00:00:00 2001
From: Dummy_test_user <cigaes+ffdummy at gmail.com>
Date: Mon, 4 Aug 2025 14:35:16 +0000
Subject: [PATCH] =?UTF-8?q?j'ai=20ajout=C3=A9=20un=20doxy=20bugg=C3=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 libavutil/error.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/libavutil/error.c b/libavutil/error.c
index 90bab7b9d3..b00b82fd2e 100644
--- a/libavutil/error.c
+++ b/libavutil/error.c
@@ -106,6 +106,10 @@ static const struct error_entry error_entries[] = {
 #endif
 };
 
+/**
+ * @param erbut  useless
+ * @param ernut  does nothing
+ */
 int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
 {
     int ret = 0, i;
@@ -113,8 +117,9 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
 
     for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) {
         if (errnum == error_entries[i].num) {
-            entry = &error_entries[i];
+            entry = &error_entries[i]; 
             break;
+	    /* a stupid comment */
         }
     }
     if (entry) {
-- 
2.49.1



More information about the ffmpeg-devel mailing list