X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ogg_afh_common.h;h=0a18b5cc6c2a9586b5f2365c5d00057b2e12541a;hp=47e133bfcf61c15542c9133b61e113ebdce335f8;hb=34d4086123256e31003aaddd76a0cb27fa7d0306;hpb=e9b00a14a4653d767a9d0fe885aa0b6d56c42180 diff --git a/ogg_afh_common.h b/ogg_afh_common.h index 47e133bf..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,5 +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 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);