]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh_common.c
Get rid of struct id3tag and struct mp3info.
[paraslash.git] / afh_common.c
index feee4c8d3dc14b492a65271daa5cffd9a90e93a5..f57ca89fb4b4afc8d7387269d97c0dd1630fddd5 100644 (file)
@@ -182,7 +182,7 @@ const char *audio_format_name(int i)
 
 
 void afh_get_chunk(long unsigned chunk_num, struct afh_info *afhi,
-               void *map, char **buf, size_t *len)
+               void *map, const char **buf, size_t *len)
 {
        size_t pos = afhi->chunk_table[chunk_num];
        *buf = map + pos;
@@ -201,7 +201,7 @@ void afh_get_chunk(long unsigned chunk_num, struct afh_info *afhi,
  * afhi is \p NULL, or if the current audio format does not need special
  * header treamtment.
  */
-void afh_get_header(struct afh_info *afhi, void *map, char **buf, size_t *len)
+void afh_get_header(struct afh_info *afhi, void *map, const char **buf, size_t *len)
 {
        if (!map || !afhi || ! afhi->header_len) {
                *buf = NULL;