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
1 changed files with 1 additions and 1 deletions

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];