comparison src/aac/mp4ff/mp4atom.c @ 3113:90cdddf6f1c1

Flip signedness around to squelch ~15 warnings.
author Tony Vroon <chainsaw@gentoo.org>
date Mon, 04 May 2009 00:00:36 +0100
parents 3d6a2732f26a
children
comparison
equal deleted inserted replaced
3112:0d47d41b39ec 3113:90cdddf6f1c1
219 /* read atom header, return atom size, atom size is with header included */ 219 /* read atom header, return atom size, atom size is with header included */
220 uint64_t mp4ff_atom_read_header(mp4ff_t *f, uint8_t *atom_type, uint8_t *header_size) 220 uint64_t mp4ff_atom_read_header(mp4ff_t *f, uint8_t *atom_type, uint8_t *header_size)
221 { 221 {
222 uint64_t size; 222 uint64_t size;
223 int32_t ret; 223 int32_t ret;
224 int8_t atom_header[8]; 224 uint8_t atom_header[8];
225 225
226 ret = mp4ff_read_data(f, atom_header, 8); 226 ret = mp4ff_read_data(f, atom_header, 8);
227 if (ret != 8) 227 if (ret != 8)
228 return 0; 228 return 0;
229 229