Browse Source

g726: use int16_t instead of short

tags/n0.9
Justin Ruggles 14 years ago
parent
commit
e61a670b53
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/g726.c

+ 2
- 2
libavcodec/g726.c View File

@@ -353,7 +353,7 @@ static int g726_encode_frame(AVCodecContext *avctx,
uint8_t *dst, int buf_size, void *data) uint8_t *dst, int buf_size, void *data)
{ {
G726Context *c = avctx->priv_data; G726Context *c = avctx->priv_data;
const short *samples = data;
const int16_t *samples = data;
PutBitContext pb; PutBitContext pb;
int i; int i;


@@ -375,7 +375,7 @@ static int g726_decode_frame(AVCodecContext *avctx,
const uint8_t *buf = avpkt->data; const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size; int buf_size = avpkt->size;
G726Context *c = avctx->priv_data; G726Context *c = avctx->priv_data;
short *samples = data;
int16_t *samples = data;
GetBitContext gb; GetBitContext gb;


init_get_bits(&gb, buf, buf_size * 8); init_get_bits(&gb, buf, buf_size * 8);


Loading…
Cancel
Save