changeset 8242:91a340f25c8c libavcodec

Update ff_rv34_decode_frame() arguments definition
author kostya
date Tue, 02 Dec 2008 17:35:38 +0000
parents 585572f14e2c
children d5949e5d36f3
files rv34.c rv34.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rv34.c	Tue Dec 02 17:34:26 2008 +0000
+++ b/rv34.c	Tue Dec 02 17:35:38 2008 +0000
@@ -1351,7 +1351,7 @@
 
 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;
--- a/rv34.h	Tue Dec 02 17:34:26 2008 +0000
+++ b/rv34.h	Tue Dec 02 17:35:38 2008 +0000
@@ -123,7 +123,7 @@
  */
 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 */