Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

codec.c

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005, 2006 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: codec.c,v 1.9 2006/01/09 12:38:38 tat Exp $
00009  */
00010 
00011 #include <klone/codec.h>
00012 #include <u/libu.h>
00013 
00028 int codec_free(codec_t *codec)
00029 {
00030     if(codec)
00031     {
00032         if(codec->free)
00033             codec->free(codec);
00034         else
00035             U_FREE(codec);
00036     }
00037     return 0;
00038 }
00039 

←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved