diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 04:44:59 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 04:44:59 +0400 |
commit | 23348647b2fa6b97f3ea017d3783b8bfbb9c79fc (patch) | |
tree | 2d026e603048c05ca0e235315ab8ecb880c1aaec /libavformat | |
parent | 4fcf6aa7a3a204af3abcdc2aea2bd6247e6baf6f (diff) |
ipmovie_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ipmovie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index 17ef7bb92f..676363b628 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -527,8 +527,8 @@ static const char signature[] = "Interplay MVE File\x1A\0\x1A"; static int ipmovie_probe(AVProbeData *p) { - uint8_t *b = p->buf; - uint8_t *b_end = p->buf + p->buf_size - sizeof(signature); + const uint8_t *b = p->buf; + const uint8_t *b_end = p->buf + p->buf_size - sizeof(signature); do { if (b[0] == signature[0] && memcmp(b, signature, sizeof(signature)) == 0) return AVPROBE_SCORE_MAX; |