Commit c41d14dd authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11783 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b53c98fd
...@@ -39,12 +39,12 @@ typedef struct VCR1Context{ ...@@ -39,12 +39,12 @@ typedef struct VCR1Context{
static int decode_frame(AVCodecContext *avctx, static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
VCR1Context * const a = avctx->priv_data; VCR1Context * const a = avctx->priv_data;
AVFrame *picture = data; AVFrame *picture = data;
AVFrame * const p= (AVFrame*)&a->picture; AVFrame * const p= (AVFrame*)&a->picture;
uint8_t *bytestream= buf; const uint8_t *bytestream= buf;
int i, x, y; int i, x, y;
if(p->data[0]) if(p->data[0])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment