[FFmpeg-cvslog] tools/target_dem_fuzzer: make fuzz data pointer constant

Kacper Michajłow git at videolan.org
Sat Jun 7 15:39:41 EEST 2025


ffmpeg | branch: master | Kacper Michajłow <kasper93 at gmail.com> | Fri Jun  6 19:20:34 2025 +0200| [dc9794d3407ef36ca298a0c543fe4e6c07219d36] | committer: Michael Niedermayer

tools/target_dem_fuzzer: make fuzz data pointer constant

Mostly to avoid warnings.

Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 tools/target_dem_fuzzer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 8e96fad7f8..19bc1f09c1 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools/target_dem_fuzzer.c
@@ -29,7 +29,7 @@
 typedef struct IOContext {
     int64_t pos;
     int64_t filesize;
-    uint8_t *fuzz;
+    const uint8_t *fuzz;
     int fuzz_size;
 } IOContext;
 



More information about the ffmpeg-cvslog mailing list