diff snow.c @ 6255:80148ad7bb3c libavcodec

some const
author michael
date Fri, 01 Feb 2008 14:18:09 +0000
parents ea591bc7522a
children a1d0b3a421f6
line wrap: on
line diff
--- a/snow.c	Fri Feb 01 14:16:08 2008 +0000
+++ b/snow.c	Fri Feb 01 14:18:09 2008 +0000
@@ -4567,7 +4567,7 @@
     return 0;
 }
 
-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){
     SnowContext *s = avctx->priv_data;
     RangeCoder * const c= &s->c;
     int bytes_read;