diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 01:54:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 01:54:20 +0100 |
commit | 59693ed96cf8568b6b4d946ceda4afd67de3b1b7 (patch) | |
tree | 0ad6bc7fd8ae502faa0443968271e04b3df7fa61 /libavformat/mxfdec.c | |
parent | c8e5efb4961eb779356fcf4195d36e692a25cf2c (diff) | |
download | ffmpeg-59693ed96cf8568b6b4d946ceda4afd67de3b1b7.tar.gz |
mxf_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index e8ecbd9083..0141dd92f1 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -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; |