diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-22 00:55:43 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-25 02:19:18 +0100 |
commit | 0f20e48e3d3efbb012d16bd2a26a68f7c98bb8ea (patch) | |
tree | a2d0cb85f66614ec0ad992665f2391272b74c397 /fftools | |
parent | 569257735ba983217e664f5600b29e55d6dc4893 (diff) |
fftools/ffprobe: Don't cast const away needlessly
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index aa1153e709..95643f9a23 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -789,7 +789,7 @@ static inline int validate_string(WriterContext *wctx, char **dstp, const char * av_bprint_init(&dstbuf, 0, AV_BPRINT_SIZE_UNLIMITED); endp = src + strlen(src); - for (p = (uint8_t *)src; *p;) { + for (p = src; *p;) { uint32_t code; int invalid = 0; const uint8_t *p0 = p; |