diff mbox series

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

Message ID AM7PR03MB6660CFE3724B6C4B501EB9078FC89@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit ffc00e5b16a9bacf707b9edf3c0d44cea4bd4dbe
Headers show
Series [FFmpeg-devel,01/25] avformat/matroskadec: Fix heap-buffer overflow upon gigantic timestamps | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/configureppc warning Failed to apply patch

Commit Message

Andreas Rheinhardt Aug. 27, 2021, 2:27 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/graphdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nicolas George Aug. 27, 2021, 3:07 p.m. UTC | #1
Andreas Rheinhardt (12021-08-27):
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavfilter/graphdump.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

No objection to all four patches.

Regards,
diff mbox series

Patch

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