[FFmpeg-cvslog] r11721 - trunk/libavcodec/cyuv.c
michael
subversion
Fri Feb 1 05:04:44 CET 2008
Author: michael
Date: Fri Feb 1 05:04:44 2008
New Revision: 11721
Log:
const
Modified:
trunk/libavcodec/cyuv.c
Modified: trunk/libavcodec/cyuv.c
==============================================================================
--- trunk/libavcodec/cyuv.c (original)
+++ trunk/libavcodec/cyuv.c Fri Feb 1 05:04:44 2008
@@ -61,7 +61,7 @@ static int cyuv_decode_init(AVCodecConte
static int cyuv_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
CyuvDecodeContext *s=avctx->priv_data;
@@ -73,9 +73,9 @@ static int cyuv_decode_frame(AVCodecCont
int v_ptr;
/* prediction error tables (make it clear that they are signed values) */
- signed char *y_table = (signed char*)buf + 0;
- signed char *u_table = (signed char*)buf + 16;
- signed char *v_table = (signed char*)buf + 32;
+ const signed char *y_table = (const signed char*)buf + 0;
+ const signed char *u_table = (const signed char*)buf + 16;
+ const signed char *v_table = (const signed char*)buf + 32;
unsigned char y_pred, u_pred, v_pred;
int stream_ptr;
More information about the ffmpeg-cvslog
mailing list