Skip to content
Snippets Groups Projects
Commit 7a84664f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

mp3_read_probe: make buffer related pointers const

parent 9d95deef
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ static int mp3_read_probe(AVProbeData *p) ...@@ -49,7 +49,7 @@ static int mp3_read_probe(AVProbeData *p)
int max_frames, first_frames = 0; int max_frames, first_frames = 0;
int fsize, frames, sample_rate; int fsize, frames, sample_rate;
uint32_t header; uint32_t header;
uint8_t *buf, *buf0, *buf2, *end; const uint8_t *buf, *buf0, *buf2, *end;
AVCodecContext avctx; AVCodecContext avctx;
buf0 = p->buf; buf0 = p->buf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment