diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:39:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:39:15 +0000 |
commit | b5777b942d3ccfe841ca1e1644c2d5daaadd1ff4 (patch) | |
tree | ee5e10154c37761e81006addc002ad8c4691e660 /libavcodec/sp5xdec.c | |
parent | e68c7a4abe9c259af44e3cc1414674743e76cc32 (diff) | |
download | ffmpeg-b5777b942d3ccfe841ca1e1644c2d5daaadd1ff4.tar.gz |
const
Originally committed as revision 11711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sp5xdec.c')
-rw-r--r-- | libavcodec/sp5xdec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c index 104ed31b7b..e5dd5ea054 100644 --- a/libavcodec/sp5xdec.c +++ b/libavcodec/sp5xdec.c @@ -32,13 +32,14 @@ static int sp5x_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { #if 0 MJpegDecodeContext *s = avctx->priv_data; #endif const int qscale = 5; - uint8_t *buf_ptr, *buf_end, *recoded; + const uint8_t *buf_ptr, *buf_end; + uint8_t *recoded; int i = 0, j = 0; if (!avctx->width || !avctx->height) |