mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-04 14:22:12 +00:00
fftools/ffprobe: Don't cast const away needlessly
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
569257735b
commit
0f20e48e3d
@ -789,7 +789,7 @@ static inline int validate_string(WriterContext *wctx, char **dstp, const char *
|
|||||||
av_bprint_init(&dstbuf, 0, AV_BPRINT_SIZE_UNLIMITED);
|
av_bprint_init(&dstbuf, 0, AV_BPRINT_SIZE_UNLIMITED);
|
||||||
|
|
||||||
endp = src + strlen(src);
|
endp = src + strlen(src);
|
||||||
for (p = (uint8_t *)src; *p;) {
|
for (p = src; *p;) {
|
||||||
uint32_t code;
|
uint32_t code;
|
||||||
int invalid = 0;
|
int invalid = 0;
|
||||||
const uint8_t *p0 = p;
|
const uint8_t *p0 = p;
|
||||||
|
Loading…
Reference in New Issue
Block a user