some const

Originally committed as revision 11766 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-01 15:34:00 +00:00
parent 317b3092cf
commit 3052e4b58b

View File

@ -34,7 +34,7 @@ static int common_init(AVCodecContext *avctx){
static int pnm_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size)
const uint8_t *buf, int buf_size)
{
PNMContext * const s = avctx->priv_data;
AVFrame *picture = data;