diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:13:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:13:38 +0000 |
commit | fbdad670e432b9e422e360a59b012ce92dc735c6 (patch) | |
tree | de36ed65bc94d62d3c537afd6c4acf5c970d0f00 /libavcodec | |
parent | 10313fe08e4f7b8261ef27f9edb3341f7e789b23 (diff) | |
download | ffmpeg-fbdad670e432b9e422e360a59b012ce92dc735c6.tar.gz |
const
Originally committed as revision 11761 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h263dec.c | 2 | ||||
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 9cb6295185..eddaadc837 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -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; diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 7a2198dc47..c54a4bab20 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -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], |