1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

some const

Originally committed as revision 11773 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-01 15:44:27 +00:00
parent 3cc89383f7
commit b31178c92a

View File

@ -171,7 +171,7 @@ static int roq_decode_init(AVCodecContext *avctx)
static int roq_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size)
const uint8_t *buf, int buf_size)
{
RoqContext *s = avctx->priv_data;
int copy= !s->current_frame->data[0];