mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
mxf_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c8e5efb496
commit
59693ed96c
@ -2273,8 +2273,8 @@ static int mxf_read_close(AVFormatContext *s)
|
||||
}
|
||||
|
||||
static int mxf_probe(AVProbeData *p) {
|
||||
uint8_t *bufp = p->buf;
|
||||
uint8_t *end = p->buf + p->buf_size;
|
||||
const uint8_t *bufp = p->buf;
|
||||
const uint8_t *end = p->buf + p->buf_size;
|
||||
|
||||
if (p->buf_size < sizeof(mxf_header_partition_pack_key))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user