[FFmpeg-cvslog] r11775 - trunk/libavcodec/targa.c

michael subversion
Fri Feb 1 16:54:04 CET 2008


Author: michael
Date: Fri Feb  1 16:54:04 2008
New Revision: 11775

Log:
const


Modified:
   trunk/libavcodec/targa.c

Modified: trunk/libavcodec/targa.c
==============================================================================
--- trunk/libavcodec/targa.c	(original)
+++ trunk/libavcodec/targa.c	Fri Feb  1 16:54:04 2008
@@ -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(AVCodecCont
 
 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;




More information about the ffmpeg-cvslog mailing list