[FFmpeg-cvslog] r11780 - trunk/libavcodec/tscc.c
michael
subversion
Fri Feb 1 16:58:29 CET 2008
Author: michael
Date: Fri Feb 1 16:58:29 2008
New Revision: 11780
Log:
const
Modified:
trunk/libavcodec/tscc.c
Modified: trunk/libavcodec/tscc.c
==============================================================================
--- trunk/libavcodec/tscc.c (original)
+++ trunk/libavcodec/tscc.c Fri Feb 1 16:58:29 2008
@@ -182,10 +182,10 @@ static int decode_rle(CamtasiaContext *c
* 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
More information about the ffmpeg-cvslog
mailing list