summaryrefslogtreecommitdiff
path: root/libavformat/microdvddec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:50:58 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:50:58 +0100
commit9d95deef6128b82468d5d078451d2e7cdfb9ea1f (patch)
tree6f99a02209245c6b54caade4951513a64e7a4b41 /libavformat/microdvddec.c
parentc3cb338955e71afbdfc0400bc2fa87338eea537c (diff)
microdvd_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/microdvddec.c')
-rw-r--r--libavformat/microdvddec.c3
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)