diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:48:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:48:55 +0000 |
commit | ebc0790441fa50a5e21190f3d6e66d9a51f7ee60 (patch) | |
tree | 613ffc8657f6df49362409e4f156ae977345763a /libavcodec/avs.c | |
parent | f64bbca55d52552b82c0c69f8dfd3d8e2e5d653b (diff) | |
download | ffmpeg-ebc0790441fa50a5e21190f3d6e66d9a51f7ee60.tar.gz |
const
Originally committed as revision 11716 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r-- | libavcodec/avs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/avs.c b/libavcodec/avs.c index b4bba76060..7d4f3e45e6 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -44,12 +44,13 @@ typedef enum { static int avs_decode_frame(AVCodecContext * avctx, - void *data, int *data_size, uint8_t * buf, int buf_size) + void *data, int *data_size, const uint8_t * buf, int buf_size) { avs_context_t *const avs = avctx->priv_data; AVFrame *picture = data; AVFrame *const p = (AVFrame *) & avs->picture; - uint8_t *table, *vect, *out; + const uint8_t *table, *vect; + uint8_t *out; int i, j, x, y, stride, vect_w = 3, vect_h = 3; int sub_type; avs_block_type_t type; |