diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 01:41:00 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-25 01:41:00 +0100 |
commit | d7e050b11d90a50833ce1d666e1fb58687c55633 (patch) | |
tree | e9f9fb51fd120dcf1e41cc6a8c3217bbbc2d9abd | |
parent | ec40d15d823cd1ead8947014dc6925d682b3a2de (diff) | |
download | ffmpeg-d7e050b11d90a50833ce1d666e1fb58687c55633.tar.gz |
adts_aac_probe: mark buffer pointers as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/aacdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c index e165959dab..7c17dd05fa 100644 --- a/libavformat/aacdec.c +++ b/libavformat/aacdec.c @@ -31,10 +31,10 @@ static int adts_aac_probe(AVProbeData *p) { int max_frames = 0, first_frames = 0; int fsize, frames; - uint8_t *buf0 = p->buf; - uint8_t *buf2; - uint8_t *buf; - uint8_t *end = buf0 + p->buf_size - 7; + const uint8_t *buf0 = p->buf; + const uint8_t *buf2; + const uint8_t *buf; + const uint8_t *end = buf0 + p->buf_size - 7; buf = buf0; |