aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 16:04:29 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 16:04:29 +0000
commit14ff144c1b5627ddfd1459defc7bcd819fcfb157 (patch)
tree711ec9626f1cac4af99e0ff375be4c236b201ee1 /libavcodec
parent63410f2ca53c277e069c4c306bbf72824dff5d13 (diff)
downloadffmpeg-14ff144c1b5627ddfd1459defc7bcd819fcfb157.tar.gz
some const
Originally committed as revision 11784 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 01cff4c057..a0e5f97a82 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -3941,7 +3941,7 @@ static int vc1_decode_init(AVCodecContext *avctx)
*/
static int vc1_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
VC1Context *v = avctx->priv_data;
MpegEncContext *s = &v->s;
@@ -3974,7 +3974,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
buf2 = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
if(IS_MARKER(AV_RB32(buf))){ /* frame starts with marker and needs to be parsed */
- uint8_t *start, *end, *next;
+ const uint8_t *start, *end, *next;
int size;
next = buf;