[FFmpeg-cvslog] r11716 - trunk/libavcodec/avs.c

michael subversion
Fri Feb 1 04:48:55 CET 2008


Author: michael
Date: Fri Feb  1 04:48:55 2008
New Revision: 11716

Log:
const


Modified:
   trunk/libavcodec/avs.c

Modified: trunk/libavcodec/avs.c
==============================================================================
--- trunk/libavcodec/avs.c	(original)
+++ trunk/libavcodec/avs.c	Fri Feb  1 04:48:55 2008
@@ -44,12 +44,13 @@ typedef enum {
 
 static int
 avs_decode_frame(AVCodecContext * avctx,
-                 void *data, int *data_size, uint8_t * buf, int buf_size)
+                 void *data, int *data_size, const uint8_t * buf, int buf_size)
 {
     avs_context_t *const avs = avctx->priv_data;
     AVFrame *picture = data;
     AVFrame *const p = (AVFrame *) & avs->picture;
-    uint8_t *table, *vect, *out;
+    const uint8_t *table, *vect;
+    uint8_t *out;
     int i, j, x, y, stride, vect_w = 3, vect_h = 3;
     int sub_type;
     avs_block_type_t type;




More information about the ffmpeg-cvslog mailing list