summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:44:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:44:27 +0000
commitb31178c92af4a018094ddeac3fcf42cac7bef408 (patch)
tree01c77464d83cff7882514c66328426cbaa0500e1 /libavcodec/roqvideodec.c
parent3cc89383f7c4cf6d43184202f6a2ad112792c113 (diff)
downloadffmpeg-b31178c92af4a018094ddeac3fcf42cac7bef408.tar.gz
some const
Originally committed as revision 11773 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 43d14a43fd..67687cea9e 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -171,7 +171,7 @@ static int roq_decode_init(AVCodecContext *avctx)
static int roq_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
RoqContext *s = avctx->priv_data;
int copy= !s->current_frame->data[0];