[FFmpeg-cvslog] mp3_read_probe: make buffer related pointers const

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


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec 25 01:51:32 2012 +0100| [7a84664ffe54dbc19eab093e8f34aa9bec3dfd1e] | committer: Michael Niedermayer

mp3_read_probe: make buffer related pointers const

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

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

 libavformat/mp3dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index d11dceb..c6d6987 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;



More information about the ffmpeg-cvslog mailing list