aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 16:03:03 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 16:03:03 +0000
commit63410f2ca53c277e069c4c306bbf72824dff5d13 (patch)
treeb5531fe0c2336d369191dd06aa8a4d8e70ac9b96
parent521c38f1ef855d6789ee6afda2f49500bb89fa79 (diff)
downloadffmpeg-63410f2ca53c277e069c4c306bbf72824dff5d13.tar.gz
const
Originally committed as revision 11783 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vcr1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index 62bf123209..30fc302d1d 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -39,12 +39,12 @@ typedef struct VCR1Context{
static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
VCR1Context * const a = avctx->priv_data;
AVFrame *picture = data;
AVFrame * const p= (AVFrame*)&a->picture;
- uint8_t *bytestream= buf;
+ const uint8_t *bytestream= buf;
int i, x, y;
if(p->data[0])