diff ra144.c @ 6277:2bd174b8d32e libavcodec

const
author michael
date Fri, 01 Feb 2008 15:43:38 +0000
parents bc4791868c52
children 5b3acf9fd50a
line wrap: on
line diff
--- a/ra144.c	Fri Feb 01 15:41:16 2008 +0000
+++ b/ra144.c	Fri Feb 01 15:43:38 2008 +0000
@@ -251,7 +251,7 @@
 }
 
 /* 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 @@
 /* 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;