X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=ogg_afh_common.h;h=0a18b5cc6c2a9586b5f2365c5d00057b2e12541a;hb=34d4086123256e31003aaddd76a0cb27fa7d0306;hp=7b9d1313af4816b79d1177c7898b94a70ee24775;hpb=0f4910b50116416fefb09ca67a615679067ef359;p=paraslash.git diff --git a/ogg_afh_common.h b/ogg_afh_common.h index 7b9d1313..0a18b5cc 100644 --- a/ogg_afh_common.h +++ b/ogg_afh_common.h @@ -16,7 +16,7 @@ * function whose purpose is to extract the meta information about the audio * file from the first few ogg packets of the bitstream. */ -struct ogg_afh_callback_info { +struct oac_callback_info { /** * ogg_get_file_info() calls this function for the first three ogg * packets, or until the callback returns a non-positive value. If it @@ -33,7 +33,7 @@ struct ogg_afh_callback_info { void *private_data; }; -int ogg_get_file_info(char *map, size_t numbytes, struct afh_info *afhi, - struct ogg_afh_callback_info *ci); -int ogg_rewrite_tags(const char *map, size_t mapsize, int fd, +int oac_get_file_info(char *map, size_t numbytes, struct afh_info *afhi, + struct oac_callback_info *ci); +int oac_rewrite_tags(const char *map, size_t mapsize, int fd, char *meta_packet, size_t meta_sz);