mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
const
Originally committed as revision 11780 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d177b6200f
commit
6fd4315ee2
@ -182,10 +182,10 @@ static int decode_rle(CamtasiaContext *c, unsigned int srcsize)
|
|||||||
* Decode a frame
|
* 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;
|
CamtasiaContext * const c = avctx->priv_data;
|
||||||
unsigned char *encoded = (unsigned char *)buf;
|
const unsigned char *encoded = buf;
|
||||||
unsigned char *outptr;
|
unsigned char *outptr;
|
||||||
#ifdef CONFIG_ZLIB
|
#ifdef CONFIG_ZLIB
|
||||||
int zret; // Zlib return code
|
int zret; // Zlib return code
|
||||||
|
Loading…
Reference in New Issue
Block a user