Browse Source

const

Originally committed as revision 11780 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
6fd4315ee2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/tscc.c

+ 2
- 2
libavcodec/tscc.c View File

@@ -182,10 +182,10 @@ static int decode_rle(CamtasiaContext *c, unsigned int srcsize)
* Decode a frame
*
*/
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
{
CamtasiaContext * const c = avctx->priv_data;
unsigned char *encoded = (unsigned char *)buf;
const unsigned char *encoded = buf;
unsigned char *outptr;
#ifdef CONFIG_ZLIB
int zret; // Zlib return code


Loading…
Cancel
Save