[FFmpeg-cvslog] avfilter/graphdump: Use pointer to const for pointer to static strings

Andreas Rheinhardt git at videolan.org
Fri Aug 27 19:27:28 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Aug 26 13:35:20 2021 +0200| [ffc00e5b16a9bacf707b9edf3c0d44cea4bd4dbe] | committer: Andreas Rheinhardt

avfilter/graphdump: Use pointer to const for pointer to static strings

Reviewed-by: Nicolas George <george at nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ffc00e5b16a9bacf707b9edf3c0d44cea4bd4dbe
---

 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) {



More information about the ffmpeg-cvslog mailing list