[FFmpeg-cvslog] r11771 - trunk/libavcodec/ra144.c

michael subversion
Fri Feb 1 16:43:38 CET 2008


Author: michael
Date: Fri Feb  1 16:43:38 2008
New Revision: 11771

Log:
const


Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Fri Feb  1 16:43:38 2008
@@ -251,7 +251,7 @@ static void final(Real144_internal *glob
 }
 
 /* Decode 20-byte input */
-static void unpack_input(unsigned char *input, unsigned int *output)
+static void unpack_input(const unsigned char *input, unsigned int *output)
 {
   unsigned int outbuffer[28];
   unsigned short inbuffer[10];
@@ -427,7 +427,7 @@ static void dec2(Real144_internal *glob,
 /* Uncompress one block (20 bytes -> 160*2 bytes) */
 static int ra144_decode_frame(AVCodecContext * avctx,
             void *vdata, int *data_size,
-            uint8_t * buf, int buf_size)
+            const uint8_t * buf, int buf_size)
 {
   unsigned int a,b,c;
   signed short *shptr;




More information about the ffmpeg-cvslog mailing list