[FFmpeg-cvslog] r11783 - trunk/libavcodec/vcr1.c
michael
subversion
Fri Feb 1 17:03:04 CET 2008
Author: michael
Date: Fri Feb 1 17:03:03 2008
New Revision: 11783
Log:
const
Modified:
trunk/libavcodec/vcr1.c
Modified: trunk/libavcodec/vcr1.c
==============================================================================
--- trunk/libavcodec/vcr1.c (original)
+++ trunk/libavcodec/vcr1.c Fri Feb 1 17:03:03 2008
@@ -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])
More information about the ffmpeg-cvslog
mailing list