[FFmpeg-cvslog] r11742 - trunk/libavcodec/smacker.c
michael
subversion
Fri Feb 1 15:09:52 CET 2008
Author: michael
Date: Fri Feb 1 15:09:52 2008
New Revision: 11742
Log:
some const
Modified:
trunk/libavcodec/smacker.c
Modified: trunk/libavcodec/smacker.c
==============================================================================
--- trunk/libavcodec/smacker.c (original)
+++ trunk/libavcodec/smacker.c Fri Feb 1 15:09:52 2008
@@ -344,7 +344,7 @@ static av_always_inline int smk_get_code
return v;
}
-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)
{
SmackVContext * const smk = avctx->priv_data;
uint8_t *out;
@@ -567,7 +567,7 @@ static int smka_decode_init(AVCodecConte
/**
* Decode Smacker audio data
*/
-static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
{
GetBitContext gb;
HuffContext h[4];
More information about the ffmpeg-cvslog
mailing list