projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c009df3
)
amr typefix patch by (Johannes Carlsson <joca at rixmail dot se>)
author
Johannes Carlsson
<joca@rixmail.se>
Wed, 18 Jun 2003 22:24:51 +0000
(22:24 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Jun 2003 22:24:51 +0000
(22:24 +0000)
Originally committed as revision 1972 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/amr.c
patch
|
blob
|
history
diff --git
a/libavformat/amr.c
b/libavformat/amr.c
index
720bf31
..
4baa427
100644
(file)
--- a/
libavformat/amr.c
+++ b/
libavformat/amr.c
@@
-81,7
+81,7
@@
static int amr_read_header(AVFormatContext *s,
{
ByteIOContext *pb = &s->pb;
AVStream *st;
- u
_
int8_t header[6];
+ uint8_t header[6];
get_buffer(pb, header, 6);
@@
-107,8
+107,8
@@
static int amr_read_header(AVFormatContext *s,
static int amr_read_packet(AVFormatContext *s,
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};
- u
_
int8_t toc, q, ft;
+ static uint16_t packed_size[16] = {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0};
+ uint8_t toc, q, ft;
int read;
int size;