Commit 32211610 authored by michael's avatar michael

some const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11742 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7b2c2652
......@@ -344,7 +344,7 @@ static av_always_inline int smk_get_code(GetBitContext *gb, int *recode, int *la
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(AVCodecContext *avctx)
/**
* 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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment