aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:51:32 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:51:32 +0100
commit7a84664ffe54dbc19eab093e8f34aa9bec3dfd1e (patch)
tree9ae20210ecd2778bb5f85cf8dc76f6aeac7f3085
parent9d95deef6128b82468d5d078451d2e7cdfb9ea1f (diff)
downloadffmpeg-7a84664ffe54dbc19eab093e8f34aa9bec3dfd1e.tar.gz
mp3_read_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/mp3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index d11dceb52d..c6d6987eaa 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -49,7 +49,7 @@ static int mp3_read_probe(AVProbeData *p)
int max_frames, first_frames = 0;
int fsize, frames, sample_rate;
uint32_t header;
- uint8_t *buf, *buf0, *buf2, *end;
+ const uint8_t *buf, *buf0, *buf2, *end;
AVCodecContext avctx;
buf0 = p->buf;