mirror of https://git.ffmpeg.org/ffmpeg.git
const
Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3d37b11f92
commit
2b57b46313
|
@ -48,7 +48,7 @@ typedef struct SmcContext {
|
|||
DSPContext dsp;
|
||||
AVFrame frame;
|
||||
|
||||
unsigned char *buf;
|
||||
const unsigned char *buf;
|
||||
int size;
|
||||
|
||||
/* SMC color tables */
|
||||
|
@ -443,7 +443,7 @@ static int smc_decode_init(AVCodecContext *avctx)
|
|||
|
||||
static int smc_decode_frame(AVCodecContext *avctx,
|
||||
void *data, int *data_size,
|
||||
uint8_t *buf, int buf_size)
|
||||
const uint8_t *buf, int buf_size)
|
||||
{
|
||||
SmcContext *s = avctx->priv_data;
|
||||
|
||||
|
|
Loading…
Reference in New Issue