aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/roqvideodec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-02 21:55:56 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-02 21:55:56 +0000
commitb3d5468d87a6e37a41a2c0f504321452de5f845c (patch)
tree47f709b56fca4d91dced08315e28699845359e8d /libavcodec/roqvideodec.c
parent6be4042c528df11c9b1d6c96464042ba048963a2 (diff)
downloadffmpeg-b3d5468d87a6e37a41a2c0f504321452de5f845c.tar.gz
Add some const where appropriate
Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideodec.c')
-rw-r--r--libavcodec/roqvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 67687cea9e..a4e32c3fa2 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -44,7 +44,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
int frame_stats[2][4] = {{0},{0}};
roq_qcell *qcell;
const unsigned char *buf = ri->buf;
- unsigned char *buf_end = ri->buf + ri->size;
+ const unsigned char *buf_end = ri->buf + ri->size;
while (buf < buf_end) {
chunk_id = bytestream_get_le16(&buf);