changeset 6281:56d2853cd7c3 libavcodec

const
author michael
date Fri, 01 Feb 2008 15:54:04 +0000
parents b79673718ed8
children 8c7173e5d08c
files targa.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/targa.c	Fri Feb 01 15:53:25 2008 +0000
+++ b/targa.c	Fri Feb 01 15:54:04 2008 +0000
@@ -37,7 +37,7 @@
     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 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;