mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
34
sdk/lib/3rdparty/libmpg123/icy.c
vendored
Normal file
34
sdk/lib/3rdparty/libmpg123/icy.c
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
icy: Puny code to pretend for a serious ICY data structure.
|
||||
|
||||
copyright 2007-2015 by the mpg123 project
|
||||
-= free software under the terms of the LGPL 2.1 =-
|
||||
see COPYING and AUTHORS files in distribution or http://mpg123.org
|
||||
initially written by Thomas Orgis
|
||||
*/
|
||||
|
||||
#include "intsym.h"
|
||||
#include "icy.h"
|
||||
|
||||
void init_icy(struct icy_meta *icy)
|
||||
{
|
||||
icy->data = NULL;
|
||||
}
|
||||
|
||||
void clear_icy(struct icy_meta *icy)
|
||||
{
|
||||
if(icy->data != NULL) free(icy->data);
|
||||
init_icy(icy);
|
||||
}
|
||||
|
||||
void reset_icy(struct icy_meta *icy)
|
||||
{
|
||||
clear_icy(icy);
|
||||
init_icy(icy);
|
||||
}
|
||||
/*void set_icy(struct icy_meta *icy, char* new_data)
|
||||
{
|
||||
if(icy->data) free(icy->data);
|
||||
icy->data = new_data;
|
||||
icy->changed = 1;
|
||||
}*/
|
Loading…
Add table
Add a link
Reference in a new issue