diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 07:17:56 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 07:17:56 +0300 |
commit | c27fc644d445f0ab8279f80bddb4bd32a635f0bf (patch) | |
tree | 223a02d56a3bdf4c20ca0b4931d3e909f120b477 /libavcodec/flicvideo.c | |
parent | c82fbf7fba0c4f70b9563bb395158e97213405c8 (diff) |
const
Originally committed as revision 11727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flicvideo.c')
-rw-r--r-- | libavcodec/flicvideo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 6d65f6583e..29116a2325 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -127,7 +127,7 @@ static int flic_decode_init(AVCodecContext *avctx) static int flic_decode_frame_8BPP(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { FlicDecodeContext *s = avctx->priv_data; @@ -427,7 +427,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx, static int flic_decode_frame_15_16BPP(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { /* Note, the only difference between the 15Bpp and 16Bpp */ /* Format is the pixel format, the packets are processed the same. */ @@ -692,7 +692,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx, static int flic_decode_frame_24BPP(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { av_log(avctx, AV_LOG_ERROR, "24Bpp FLC Unsupported due to lack of test files.\n"); return -1; @@ -700,7 +700,7 @@ static int flic_decode_frame_24BPP(AVCodecContext *avctx, static int flic_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { if (avctx->pix_fmt == PIX_FMT_PAL8) { return flic_decode_frame_8BPP(avctx, data, data_size, |