You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mxf_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user