Commit e61a670b authored by Justin Ruggles's avatar Justin Ruggles

g726: use int16_t instead of short

parent 7b7b220c
......@@ -353,7 +353,7 @@ static int g726_encode_frame(AVCodecContext *avctx,
uint8_t *dst, int buf_size, void *data)
{
G726Context *c = avctx->priv_data;
const short *samples = data;
const int16_t *samples = data;
PutBitContext pb;
int i;
......@@ -375,7 +375,7 @@ static int g726_decode_frame(AVCodecContext *avctx,
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
G726Context *c = avctx->priv_data;
short *samples = data;
int16_t *samples = data;
GetBitContext gb;
init_get_bits(&gb, buf, buf_size * 8);
......
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