[FFmpeg-cvslog] adts_aac_probe: mark buffer pointers as const

Michael Niedermayer git at videolan.org
Tue Dec 25 02:01:13 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec 25 01:41:00 2012 +0100| [d7e050b11d90a50833ce1d666e1fb58687c55633] | committer: Michael Niedermayer

adts_aac_probe: mark buffer pointers as const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d7e050b11d90a50833ce1d666e1fb58687c55633
---

 libavformat/aacdec.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index e165959..7c17dd0 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;
 



More information about the ffmpeg-cvslog mailing list