diff lcldec.c @ 6218:dfdff1ca78a7 libavcodec

consts I have underestimated this a little, and these are just some ...
author michael
date Fri, 01 Feb 2008 03:26:31 +0000
parents fc46b3f5de1a
children 551232d0fa74
line wrap: on
line diff
--- a/lcldec.c	Fri Feb 01 02:36:09 2008 +0000
+++ b/lcldec.c	Fri Feb 01 03:26:31 2008 +0000
@@ -161,7 +161,7 @@
  * Decode a frame
  *
  */
-static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
 {
     LclDecContext * const c = avctx->priv_data;
     unsigned char *encoded = (unsigned char *)buf;