diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 01:50:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 01:50:58 +0100 |
commit | 9d95deef6128b82468d5d078451d2e7cdfb9ea1f (patch) | |
tree | 6f99a02209245c6b54caade4951513a64e7a4b41 /libavformat | |
parent | c3cb338955e71afbdfc0400bc2fa87338eea537c (diff) | |
download | ffmpeg-9d95deef6128b82468d5d078451d2e7cdfb9ea1f.tar.gz |
microdvd_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/microdvddec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c index 68a5d87ab5..5d5b83fea8 100644 --- a/libavformat/microdvddec.c +++ b/libavformat/microdvddec.c @@ -35,7 +35,8 @@ typedef struct { static int microdvd_probe(AVProbeData *p) { - unsigned char c, *ptr = p->buf; + unsigned char c; + const uint8_t *ptr = p->buf; int i; if (AV_RB24(ptr) == 0xEFBBBF) |