Commit 5c3b77f4 authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11721 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f5077c59
...@@ -61,7 +61,7 @@ static int cyuv_decode_init(AVCodecContext *avctx) ...@@ -61,7 +61,7 @@ static int cyuv_decode_init(AVCodecContext *avctx)
static int cyuv_decode_frame(AVCodecContext *avctx, static int cyuv_decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
CyuvDecodeContext *s=avctx->priv_data; CyuvDecodeContext *s=avctx->priv_data;
...@@ -73,9 +73,9 @@ static int cyuv_decode_frame(AVCodecContext *avctx, ...@@ -73,9 +73,9 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
int v_ptr; int v_ptr;
/* prediction error tables (make it clear that they are signed values) */ /* prediction error tables (make it clear that they are signed values) */
signed char *y_table = (signed char*)buf + 0; const signed char *y_table = (const signed char*)buf + 0;
signed char *u_table = (signed char*)buf + 16; const signed char *u_table = (const signed char*)buf + 16;
signed char *v_table = (signed char*)buf + 32; const signed char *v_table = (const signed char*)buf + 32;
unsigned char y_pred, u_pred, v_pred; unsigned char y_pred, u_pred, v_pred;
int stream_ptr; int stream_ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment