comparison tcp.c @ 65:a58a8a53eb46 libavformat

* UINTX -> uintx_t INTX -> intx_t
author kabi
date Tue, 11 Feb 2003 16:35:48 +0000
parents 05318cf2e886
children 9e673f620f4d
comparison
equal deleted inserted replaced
64:b0e0eb595e29 65:a58a8a53eb46
98 close(fd); 98 close(fd);
99 av_free(s); 99 av_free(s);
100 return -EIO; 100 return -EIO;
101 } 101 }
102 102
103 static int tcp_read(URLContext *h, UINT8 *buf, int size) 103 static int tcp_read(URLContext *h, uint8_t *buf, int size)
104 { 104 {
105 TCPContext *s = h->priv_data; 105 TCPContext *s = h->priv_data;
106 int size1, len; 106 int size1, len;
107 107
108 size1 = size; 108 size1 = size;
128 buf += len; 128 buf += len;
129 } 129 }
130 return size1 - size; 130 return size1 - size;
131 } 131 }
132 132
133 static int tcp_write(URLContext *h, UINT8 *buf, int size) 133 static int tcp_write(URLContext *h, uint8_t *buf, int size)
134 { 134 {
135 TCPContext *s = h->priv_data; 135 TCPContext *s = h->priv_data;
136 int ret, size1; 136 int ret, size1;
137 137
138 size1 = size; 138 size1 = size;