Mercurial > libavcodec.hg
comparison rawdec.c @ 6247:aa954496a445 libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 14:03:56 +0000 |
parents | 67acef686665 |
children | 4cf5fde3c99e |
comparison
equal
deleted
inserted
replaced
6246:ce0378d4c06c | 6247:aa954496a445 |
---|---|
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 static int raw_decode(AVCodecContext *avctx, | 97 static int raw_decode(AVCodecContext *avctx, |
98 void *data, int *data_size, | 98 void *data, int *data_size, |
99 uint8_t *buf, int buf_size) | 99 const uint8_t *buf, int buf_size) |
100 { | 100 { |
101 RawVideoContext *context = avctx->priv_data; | 101 RawVideoContext *context = avctx->priv_data; |
102 | 102 |
103 AVFrame * frame = (AVFrame *) data; | 103 AVFrame * frame = (AVFrame *) data; |
104 AVPicture * picture = (AVPicture *) data; | 104 AVPicture * picture = (AVPicture *) data; |