From: Kostya Shishkov Date: Tue, 2 Dec 2008 17:35:38 +0000 (+0000) Subject: Update ff_rv34_decode_frame() arguments definition X-Git-Tag: android-x86-4.4-r1~29444 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a1c1c7801918c46da5525cfddb99f3467c522b02;p=android-x86%2Fexternal-ffmpeg.git Update ff_rv34_decode_frame() arguments definition Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index bd0dfff0b8..297a1a7635 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -1351,7 +1351,7 @@ static int get_slice_offset(AVCodecContext *avctx, uint8_t *buf, int n) int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { RV34DecContext *r = avctx->priv_data; MpegEncContext *s = &r->s; diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index fc3642d883..65dbb8a708 100644 --- a/libavcodec/rv34.h +++ b/libavcodec/rv34.h @@ -123,7 +123,7 @@ typedef struct RV34DecContext{ */ int ff_rv34_get_start_offset(GetBitContext *gb, int blocks); int ff_rv34_decode_init(AVCodecContext *avctx); -int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size); +int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size); int ff_rv34_decode_end(AVCodecContext *avctx); #endif /* AVCODEC_RV34_H */