From 14e07bf55e47a4aa7ef87fbf8bc6402a5929adb8 Mon Sep 17 00:00:00 2001 From: Monty Date: Fri, 28 Jun 2002 23:20:48 +0000 Subject: [PATCH] Time0 diesn't really exist. You imagined the whole thing. svn path=/trunk/vorbis/; revision=3438 --- lib/time0.c | 57 --------------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 lib/time0.c diff --git a/lib/time0.c b/lib/time0.c deleted file mode 100644 index 623826c..0000000 --- a/lib/time0.c +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************** - * * - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * - * 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/ * - * * - ******************************************************************** - - function: time backend 0 (dummy) - last mod: $Id: time0.c,v 1.14 2002/06/09 14:27:01 msmith Exp $ - - ********************************************************************/ - -#include -#include -#include "vorbis/codec.h" -#include "codec_internal.h" -#include "registry.h" -#include "misc.h" - -static void time0_pack (vorbis_info_time *i,oggpack_buffer *opb){ -} -static vorbis_info_time *time0_unpack (vorbis_info *vi,oggpack_buffer *opb){ - /* We have to return non-NULL here, so this will do. */ - return malloc(4); -} -static vorbis_info_time *time0_copy_info (vorbis_info_time *vi){ - return NULL; -} -static vorbis_look_time *time0_look (vorbis_dsp_state *vd,vorbis_info_mode *mi, - vorbis_info_time *i){ - return NULL; -} -static void time0_free_info(vorbis_info_time *i){ - if(i) - free(i); -} -static void time0_free_look(vorbis_look_time *i){ -} -static int time0_forward(vorbis_block *vb,vorbis_look_time *i, - float *in,float *out){ - return(0); -} -static int time0_inverse(vorbis_block *vb,vorbis_look_time *i, - float *in,float *out){ - return(0); -} - -/* export hooks */ -vorbis_func_time time0_exportbundle={ - &time0_pack,&time0_unpack,&time0_look,&time0_copy_info,&time0_free_info, - &time0_free_look,&time0_forward,&time0_inverse -}; -- 2.7.4