diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:54:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:54:04 +0000 |
commit | 4894578b58998d77e1522060786a917cca5320e2 (patch) | |
tree | d74611bcbfb18a50191d12e366e58a2977b59d35 /libavcodec/targa.c | |
parent | ffb52962d0cefed4a7339820f2919c89af65314e (diff) | |
download | ffmpeg-4894578b58998d77e1522060786a917cca5320e2.tar.gz |
const
Originally committed as revision 11775 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r-- | libavcodec/targa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c index e595dfa62b..9309157772 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -37,7 +37,7 @@ typedef struct TargaContext { int compression_type; } TargaContext; -static void targa_decode_rle(AVCodecContext *avctx, TargaContext *s, uint8_t *src, uint8_t *dst, int w, int h, int stride, int bpp) +static void targa_decode_rle(AVCodecContext *avctx, TargaContext *s, const uint8_t *src, uint8_t *dst, int w, int h, int stride, int bpp) { int i, x, y; int depth = (bpp + 1) >> 3; @@ -89,7 +89,7 @@ static void targa_decode_rle(AVCodecContext *avctx, TargaContext *s, uint8_t *sr static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { TargaContext * const s = avctx->priv_data; AVFrame *picture = data; |