Commit e23e507c authored by michaelni's avatar michaelni

amr typefix patch by (Johannes Carlsson <joca at rixmail dot se>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1972 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b32663a5
...@@ -81,7 +81,7 @@ static int amr_read_header(AVFormatContext *s, ...@@ -81,7 +81,7 @@ static int amr_read_header(AVFormatContext *s,
{ {
ByteIOContext *pb = &s->pb; ByteIOContext *pb = &s->pb;
AVStream *st; AVStream *st;
u_int8_t header[6]; uint8_t header[6];
get_buffer(pb, header, 6); get_buffer(pb, header, 6);
...@@ -107,8 +107,8 @@ static int amr_read_header(AVFormatContext *s, ...@@ -107,8 +107,8 @@ static int amr_read_header(AVFormatContext *s,
static int amr_read_packet(AVFormatContext *s, static int amr_read_packet(AVFormatContext *s,
AVPacket *pkt) AVPacket *pkt)
{ {
static u_int16_t packed_size[16] = {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0}; static uint16_t packed_size[16] = {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0};
u_int8_t toc, q, ft; uint8_t toc, q, ft;
int read; int read;
int size; int size;
......
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