X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=ogg_afh_common.h;h=03bf88b5794b0374fba493a79e502e4a89a686ca;hb=945339514d6f5ace549635537e4fab4cdbf4c71b;hp=0a18b5cc6c2a9586b5f2365c5d00057b2e12541a;hpb=34d4086123256e31003aaddd76a0cb27fa7d0306;p=paraslash.git diff --git a/ogg_afh_common.h b/ogg_afh_common.h index 0a18b5cc..03bf88b5 100644 --- a/ogg_afh_common.h +++ b/ogg_afh_common.h @@ -1,14 +1,16 @@ -/* - * Copyright (C) 2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2010 Andre Noll , see file COPYING. */ /** * \file ogg_afh_common.h Structures and prototypes common to audio format * handlers that use the ogg container format. */ +__malloc struct oac_custom_header *oac_custom_header_new(void); +void oac_custom_header_init(int serial, struct oac_custom_header *h); +int oac_custom_header_append(ogg_packet *op, struct oac_custom_header *h); +void oac_custom_header_flush(struct oac_custom_header *h); +size_t oac_custom_header_get(char **buf, struct oac_custom_header *h); + /** * Callback structure provided by audio format handlers. *