changeset 154:7f3e6d83abd3 libavformat

amr typefix patch by (Johannes Carlsson <joca at rixmail dot se>)
author michaelni
date Wed, 18 Jun 2003 22:24:51 +0000
parents 41d4f3a86c98
children 78a13c7b7d49
files amr.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/amr.c	Sun Jun 15 17:06:28 2003 +0000
+++ b/amr.c	Wed Jun 18 22:24:51 2003 +0000
@@ -81,7 +81,7 @@
 {
     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_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;