Skip to content
Snippets Groups Projects
Commit 6fd4315e authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

const

Originally committed as revision 11780 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d177b620
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment