const
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 15:13:38 +0000 (15:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 15:13:38 +0000 (15:13 +0000)
Originally committed as revision 11761 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c
libavcodec/mpegvideo.h

index 9cb6295..eddaadc 100644 (file)
@@ -322,7 +322,7 @@ static int decode_slice(MpegEncContext *s){
 
 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;
index 7a2198d..c54a4ba 100644 (file)
@@ -817,7 +817,7 @@ int ff_h261_get_picture_format(int width, int height);
 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],