mirror of https://git.ffmpeg.org/ffmpeg.git
some const
Originally committed as revision 11742 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
16db358520
commit
3d37b11f92
|
@ -344,7 +344,7 @@ static av_always_inline int smk_get_code(GetBitContext *gb, int *recode, int *la
|
||||||
return v;
|
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;
|
SmackVContext * const smk = avctx->priv_data;
|
||||||
uint8_t *out;
|
uint8_t *out;
|
||||||
|
@ -567,7 +567,7 @@ static int smka_decode_init(AVCodecContext *avctx)
|
||||||
/**
|
/**
|
||||||
* Decode Smacker audio data
|
* 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;
|
GetBitContext gb;
|
||||||
HuffContext h[4];
|
HuffContext h[4];
|
||||||
|
|
Loading…
Reference in New Issue