Browse Source

mark qtrle input data as const.

Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger 18 years ago
parent
commit
04deea9ad2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/qtrle.c

+ 2
- 2
libavcodec/qtrle.c View File

@@ -45,7 +45,7 @@ typedef struct QtrleContext {
DSPContext dsp;
AVFrame frame;

unsigned char *buf;
const unsigned char *buf;
int size;

} QtrleContext;
@@ -530,7 +530,7 @@ static int qtrle_decode_init(AVCodecContext *avctx)

static int qtrle_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size)
const uint8_t *buf, int buf_size)
{
QtrleContext *s = avctx->priv_data;



Loading…
Cancel
Save