summaryrefslogtreecommitdiff
path: root/libavformat/mxfdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:54:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:54:20 +0100
commit59693ed96cf8568b6b4d946ceda4afd67de3b1b7 (patch)
tree0ad6bc7fd8ae502faa0443968271e04b3df7fa61 /libavformat/mxfdec.c
parentc8e5efb4961eb779356fcf4195d36e692a25cf2c (diff)
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.c4
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;