mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
const
Originally committed as revision 11721 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d31522b8f1
commit
75739ba290
@ -61,7 +61,7 @@ static int cyuv_decode_init(AVCodecContext *avctx)
|
||||
|
||||
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(AVCodecContext *avctx,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user