Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/libs/mpg123/src/libmpg123/icy.c
4394 views
1
/*
2
icy: Puny code to pretend for a serious ICY data structure.
3
4
copyright 2007-2023 by the mpg123 project
5
-= free software under the terms of the LGPL 2.1 =-
6
see COPYING and AUTHORS files in distribution or http://mpg123.org
7
initially written by Thomas Orgis
8
*/
9
10
#include "icy.h"
11
12
void INT123_init_icy(struct icy_meta *icy)
13
{
14
icy->data = NULL;
15
}
16
17
void INT123_clear_icy(struct icy_meta *icy)
18
{
19
if(icy->data != NULL) free(icy->data);
20
INT123_init_icy(icy);
21
}
22
23
void INT123_reset_icy(struct icy_meta *icy)
24
{
25
INT123_clear_icy(icy);
26
INT123_init_icy(icy);
27
}
28
/*void set_icy(struct icy_meta *icy, char* new_data)
29
{
30
if(icy->data) free(icy->data);
31
icy->data = new_data;
32
icy->changed = 1;
33
}*/
34
35