X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Fregistry.c;h=74f7ef0396b0ed563c769610215afefdc86781b6;hb=679433ebb8287744a9801f847b7a105dbc2a0404;hp=c35b6bb98d34d0a06f61fbd72d29d7617f3afa66;hpb=8d96e574de435ef69c82a34be48f257606f0a2e6;p=platform%2Fupstream%2Flibvorbis.git diff --git a/lib/registry.c b/lib/registry.c index c35b6bb..74f7ef0 100644 --- a/lib/registry.c +++ b/lib/registry.c @@ -5,47 +5,40 @@ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * - * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * - * by the XIPHOPHORUS Company http://www.xiph.org/ * - + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * + * by the Xiph.Org Foundation http://www.xiph.org/ * + * * ******************************************************************** function: registry for time, floor, res backends and channel mappings - last mod: $Id: registry.c,v 1.8 2001/06/15 21:15:40 xiphmont Exp $ ********************************************************************/ #include "vorbis/codec.h" +#include "codec_internal.h" #include "registry.h" #include "misc.h" - /* seems like major overkill now; the backend numbers will grow into the infrastructure soon enough */ -extern vorbis_func_time time0_exportbundle; -extern vorbis_func_floor floor0_exportbundle; -extern vorbis_func_floor floor1_exportbundle; -extern vorbis_func_residue residue0_exportbundle; -extern vorbis_func_residue residue1_exportbundle; -extern vorbis_func_residue residue2_exportbundle; -extern vorbis_func_mapping mapping0_exportbundle; +extern const vorbis_func_floor floor0_exportbundle; +extern const vorbis_func_floor floor1_exportbundle; +extern const vorbis_func_residue residue0_exportbundle; +extern const vorbis_func_residue residue1_exportbundle; +extern const vorbis_func_residue residue2_exportbundle; +extern const vorbis_func_mapping mapping0_exportbundle; -vorbis_func_time *_time_P[]={ - &time0_exportbundle, -}; - -vorbis_func_floor *_floor_P[]={ +const vorbis_func_floor *const _floor_P[]={ &floor0_exportbundle, &floor1_exportbundle, }; -vorbis_func_residue *_residue_P[]={ +const vorbis_func_residue *const _residue_P[]={ &residue0_exportbundle, &residue1_exportbundle, &residue2_exportbundle, }; -vorbis_func_mapping *_mapping_P[]={ +const vorbis_func_mapping *const _mapping_P[]={ &mapping0_exportbundle, }; -