Commit 59693ed9 authored by Michael Niedermayer's avatar Michael Niedermayer

mxf_probe: make buffer related pointers const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c8e5efb4
...@@ -2273,8 +2273,8 @@ static int mxf_read_close(AVFormatContext *s) ...@@ -2273,8 +2273,8 @@ static int mxf_read_close(AVFormatContext *s)
} }
static int mxf_probe(AVProbeData *p) { static int mxf_probe(AVProbeData *p) {
uint8_t *bufp = p->buf; const uint8_t *bufp = p->buf;
uint8_t *end = p->buf + p->buf_size; const uint8_t *end = p->buf + p->buf_size;
if (p->buf_size < sizeof(mxf_header_partition_pack_key)) if (p->buf_size < sizeof(mxf_header_partition_pack_key))
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment