Repaired 'I must have been boozing' memory management in vorbisfile.a
[platform/upstream/libvorbis.git] / lib / registry.c
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
9  * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: registry for time, floor, res backends and channel mappings
15  last mod: $Id: registry.c,v 1.3 2000/03/10 13:21:18 xiphmont Exp $
16
17  ********************************************************************/
18
19 #include "vorbis/codec.h"
20 #include "registry.h"
21 #include "misc.h"
22
23 /* seems like major overkill now; the backend numbers will grow into
24    the infrastructure soon enough */
25
26 extern vorbis_func_time      time0_exportbundle;
27 extern vorbis_func_floor     floor0_exportbundle;
28 extern vorbis_func_residue   residue0_exportbundle;
29 extern vorbis_func_mapping   mapping0_exportbundle;
30
31 vorbis_func_time      *_time_P[]={
32   &time0_exportbundle,
33 };
34
35 vorbis_func_floor     *_floor_P[]={
36   &floor0_exportbundle,
37 };
38
39 vorbis_func_residue   *_residue_P[]={
40   &residue0_exportbundle,
41 };
42
43 vorbis_func_mapping   *_mapping_P[]={
44   &mapping0_exportbundle,
45 };
46