changeset 6229:042a48b6de72 libavcodec

const
author michael
date Fri, 01 Feb 2008 03:59:06 +0000
parents d155d4915e1c
children 612fc0c37427
files cavsdec.c cljr.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cavsdec.c	Fri Feb 01 03:54:08 2008 +0000
+++ b/cavsdec.c	Fri Feb 01 03:59:06 2008 +0000
@@ -614,7 +614,7 @@
 }
 
 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
-                             uint8_t * buf, int buf_size) {
+                             const uint8_t * buf, int buf_size) {
     AVSContext *h = avctx->priv_data;
     MpegEncContext *s = &h->s;
     int input_size;
--- a/cljr.c	Fri Feb 01 03:54:08 2008 +0000
+++ b/cljr.c	Fri Feb 01 03:59:06 2008 +0000
@@ -37,7 +37,7 @@
 
 static int decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     CLJRContext * const a = avctx->priv_data;
     AVFrame *picture = data;