[FFmpeg-cvslog] r11788 - trunk/libavcodec/wavpack.c

michael subversion
Fri Feb 1 17:12:01 CET 2008


Author: michael
Date: Fri Feb  1 17:12:00 2008
New Revision: 11788

Log:
const


Modified:
   trunk/libavcodec/wavpack.c

Modified: trunk/libavcodec/wavpack.c
==============================================================================
--- trunk/libavcodec/wavpack.c	(original)
+++ trunk/libavcodec/wavpack.c	Fri Feb  1 17:12:00 2008
@@ -366,13 +366,13 @@ static int wavpack_decode_init(AVCodecCo
 
 static int wavpack_decode_frame(AVCodecContext *avctx,
                             void *data, int *data_size,
-                            uint8_t *buf, int buf_size)
+                            const uint8_t *buf, int buf_size)
 {
     WavpackContext *s = avctx->priv_data;
     int16_t *samples = data;
     int samplecount;
     int got_terms = 0, got_weights = 0, got_samples = 0, got_entropy = 0, got_bs = 0;
-    uint8_t* buf_end = buf + buf_size;
+    const uint8_t* buf_end = buf + buf_size;
     int i, j, id, size, ssize, weights, t;
 
     if (buf_size == 0){




More information about the ffmpeg-cvslog mailing list