diff Plugins/Input/aac/mp4ff/mp4ffint.h @ 1129:c59fe7000c95 trunk

[svn] Fully respect pointer signedness in libmp4ff.
author chainsaw
date Sat, 03 Jun 2006 15:29:45 -0700
parents ddd7946bdd8f
children f12d7e208b43
line wrap: on
line diff
--- a/Plugins/Input/aac/mp4ff/mp4ffint.h	Sat Jun 03 12:19:34 2006 -0700
+++ b/Plugins/Input/aac/mp4ff/mp4ffint.h	Sat Jun 03 15:29:45 2006 -0700
@@ -238,10 +238,10 @@
 int64_t mp4ff_position(const mp4ff_t *f);
 int32_t mp4ff_set_position(mp4ff_t *f, const int64_t position);
 int32_t mp4ff_truncate(mp4ff_t * f);
-char * mp4ff_read_string(mp4ff_t * f,uint32_t length);
+unsigned char * mp4ff_read_string(mp4ff_t * f,uint32_t length);
 
 /* mp4atom.c */
-int32_t mp4ff_atom_get_size(const int8_t *data);
+int32_t mp4ff_atom_get_size(const uint8_t *data);
 int32_t mp4ff_atom_compare(const int8_t a1, const int8_t b1, const int8_t c1, const int8_t d1,
                                   const int8_t a2, const int8_t b2, const int8_t c2, const int8_t d2);
 uint8_t mp4ff_atom_name_to_type(const int8_t a, const int8_t b, const int8_t c, const int8_t d);
@@ -272,7 +272,7 @@
 /* mp4meta.c */
 int32_t mp4ff_tag_add_field(mp4ff_metadata_t *tags, const char *item, const char *value);
 int32_t mp4ff_tag_set_field(mp4ff_metadata_t *tags, const char *item, const char *value);
-int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, char **name);
+int32_t mp4ff_set_metadata_name(mp4ff_t *f, const uint8_t atom_type, unsigned char **name);
 int32_t mp4ff_parse_tag(mp4ff_t *f, const uint8_t parent_atom_type, const int32_t size);
 int32_t mp4ff_meta_find_by_name(const mp4ff_t *f, const char *item, char **value);
 int32_t mp4ff_parse_metadata(mp4ff_t *f, const int32_t size);