fftools/ffprobe: Don't cast const away needlessly

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-02-22 00:55:43 +01:00
parent 569257735b
commit 0f20e48e3d
1 changed files with 1 additions and 1 deletions

View File

@ -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;