aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-12-02 17:35:38 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-12-02 17:35:38 +0000
commita1c1c7801918c46da5525cfddb99f3467c522b02 (patch)
treecec6ebae921bedcf5b9571ded19d0c69a6c27a13 /libavcodec
parent207625ee610e6438264e2bc9bbeaf8dd1d4548ba (diff)
downloadffmpeg-a1c1c7801918c46da5525cfddb99f3467c522b02.tar.gz
Update ff_rv34_decode_frame() arguments definition
Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/rv34.c2
-rw-r--r--libavcodec/rv34.h2
2 files changed, 2 insertions, 2 deletions
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 */