changeset 6269:83cb2494fb8a libavcodec

const
author michael
date Fri, 01 Feb 2008 15:13:38 +0000
parents ce3cc7f7fb53
children d2af52426ef7
files h263dec.c mpegvideo.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Fri Feb 01 15:11:24 2008 +0000
+++ b/h263dec.c	Fri Feb 01 15:13:38 2008 +0000
@@ -322,7 +322,7 @@
 
 int ff_h263_decode_frame(AVCodecContext *avctx,
                              void *data, int *data_size,
-                             uint8_t *buf, int buf_size)
+                             const uint8_t *buf, int buf_size)
 {
     MpegEncContext *s = avctx->priv_data;
     int ret;
--- a/mpegvideo.h	Fri Feb 01 15:11:24 2008 +0000
+++ b/mpegvideo.h	Fri Feb 01 15:13:38 2008 +0000
@@ -817,7 +817,7 @@
 int ff_h263_decode_init(AVCodecContext *avctx);
 int ff_h263_decode_frame(AVCodecContext *avctx,
                              void *data, int *data_size,
-                             uint8_t *buf, int buf_size);
+                             const uint8_t *buf, int buf_size);
 int ff_h263_decode_end(AVCodecContext *avctx);
 void h263_encode_mb(MpegEncContext *s,
                     DCTELEM block[6][64],