diff sp5xdec.c @ 6221:b42a510e0939 libavcodec

const
author michael
date Fri, 01 Feb 2008 03:39:15 +0000
parents e0a872dd3ea1
children 493dc59d469a
line wrap: on
line diff
--- a/sp5xdec.c	Fri Feb 01 03:34:43 2008 +0000
+++ b/sp5xdec.c	Fri Feb 01 03:39:15 2008 +0000
@@ -32,13 +32,14 @@
 
 static int sp5x_decode_frame(AVCodecContext *avctx,
                               void *data, int *data_size,
-                              uint8_t *buf, int buf_size)
+                              const uint8_t *buf, int buf_size)
 {
 #if 0
     MJpegDecodeContext *s = avctx->priv_data;
 #endif
     const int qscale = 5;
-    uint8_t *buf_ptr, *buf_end, *recoded;
+    const uint8_t *buf_ptr, *buf_end;
+    uint8_t *recoded;
     int i = 0, j = 0;
 
     if (!avctx->width || !avctx->height)