comparison cavsdec.c @ 6229:042a48b6de72 libavcodec

const
author michael
date Fri, 01 Feb 2008 03:59:06 +0000
parents 33718fb21437
children a4104482ceef
comparison
equal deleted inserted replaced
6228:d155d4915e1c 6229:042a48b6de72
612 AVSContext *h = avctx->priv_data; 612 AVSContext *h = avctx->priv_data;
613 h->got_keyframe = 0; 613 h->got_keyframe = 0;
614 } 614 }
615 615
616 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, 616 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
617 uint8_t * buf, int buf_size) { 617 const uint8_t * buf, int buf_size) {
618 AVSContext *h = avctx->priv_data; 618 AVSContext *h = avctx->priv_data;
619 MpegEncContext *s = &h->s; 619 MpegEncContext *s = &h->s;
620 int input_size; 620 int input_size;
621 const uint8_t *buf_end; 621 const uint8_t *buf_end;
622 const uint8_t *buf_ptr; 622 const uint8_t *buf_ptr;