diff --git a/libavformat/utils.c b/libavformat/utils.c index 938f06fbae..460ec4514e 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -243,7 +243,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, unsigned int offset, unsigned int max_probe_size) { AVProbeData pd = { filename ? filename : "" }; - unsigned char *buf = NULL; + uint8_t *buf = NULL; int ret = 0, probe_size; if (!max_probe_size) {