[FFmpeg-devel] [PATCH 07/25] avfilter/graphdump: Use pointer to const for pointer to static strings

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Aug 27 17:27:07 EEST 2021


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

diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c
index 099125bea8..cf8914b558 100644
--- a/libavfilter/graphdump.c
+++ b/libavfilter/graphdump.c
@@ -29,7 +29,7 @@
 
 static int print_link_prop(AVBPrint *buf, AVFilterLink *link)
 {
-    char *format;
+    const char *format;
     AVBPrint dummy_buffer;
 
     if (!buf) {
-- 
2.30.2



More information about the ffmpeg-devel mailing list