comparison roqvideodec.c @ 6279:a6b0998e45d1 libavcodec

some const
author michael
date Fri, 01 Feb 2008 15:44:27 +0000
parents dfdff1ca78a7
children de5d97b6c25b
comparison
equal deleted inserted replaced
6278:1454981691cb 6279:a6b0998e45d1
169 return 0; 169 return 0;
170 } 170 }
171 171
172 static int roq_decode_frame(AVCodecContext *avctx, 172 static int roq_decode_frame(AVCodecContext *avctx,
173 void *data, int *data_size, 173 void *data, int *data_size,
174 uint8_t *buf, int buf_size) 174 const uint8_t *buf, int buf_size)
175 { 175 {
176 RoqContext *s = avctx->priv_data; 176 RoqContext *s = avctx->priv_data;
177 int copy= !s->current_frame->data[0]; 177 int copy= !s->current_frame->data[0];
178 178
179 if (avctx->reget_buffer(avctx, s->current_frame)) { 179 if (avctx->reget_buffer(avctx, s->current_frame)) {