Update ff_rv34_decode_frame() arguments definition

Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Kostya Shishkov 16 years ago
parent 207625ee61
commit a1c1c78019
  1. 2
      libavcodec/rv34.c
  2. 2
      libavcodec/rv34.h

@ -1351,7 +1351,7 @@ static int get_slice_offset(AVCodecContext *avctx, uint8_t *buf, int n)
int ff_rv34_decode_frame(AVCodecContext *avctx, int ff_rv34_decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
RV34DecContext *r = avctx->priv_data; RV34DecContext *r = avctx->priv_data;
MpegEncContext *s = &r->s; MpegEncContext *s = &r->s;

@ -123,7 +123,7 @@ typedef struct RV34DecContext{
*/ */
int ff_rv34_get_start_offset(GetBitContext *gb, int blocks); int ff_rv34_get_start_offset(GetBitContext *gb, int blocks);
int ff_rv34_decode_init(AVCodecContext *avctx); 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); int ff_rv34_decode_end(AVCodecContext *avctx);
#endif /* AVCODEC_RV34_H */ #endif /* AVCODEC_RV34_H */

Loading…
Cancel
Save