summaryrefslogtreecommitdiff
path: root/libavformat/psxstr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:55:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:55:22 +0100
commitf89f3d4a9823393dc3a3cabf38b06f68cc826a4b (patch)
tree942ec6c1bac5ddbacf65d8fd39fdb37641f274aa /libavformat/psxstr.c
parent28b9099ac1beabc36446528fe980f4c6549b5740 (diff)
str_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/psxstr.c')
-rw-r--r--libavformat/psxstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
index 35a6d71c5e..a2a629ffb4 100644
--- a/libavformat/psxstr.c
+++ b/libavformat/psxstr.c
@@ -69,8 +69,8 @@ static const uint8_t sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
static int str_probe(AVProbeData *p)
{
- uint8_t *sector= p->buf;
- uint8_t *end= sector + p->buf_size;
+ const uint8_t *sector= p->buf;
+ const uint8_t *end= sector + p->buf_size;
int aud=0, vid=0;
if (p->buf_size < RAW_CD_SECTOR_SIZE)