mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-12 02:14:56 +02:00
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;
|
||||
}
|
||||
|
||||
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];
|
||||
|
Loading…
Reference in New Issue
Block a user