/*1icy: Puny code to pretend for a serious ICY data structure.23copyright 2007-2023 by the mpg123 project4-= free software under the terms of the LGPL 2.1 =-5see COPYING and AUTHORS files in distribution or http://mpg123.org6initially written by Thomas Orgis7*/89#include "icy.h"1011void INT123_init_icy(struct icy_meta *icy)12{13icy->data = NULL;14}1516void INT123_clear_icy(struct icy_meta *icy)17{18if(icy->data != NULL) free(icy->data);19INT123_init_icy(icy);20}2122void INT123_reset_icy(struct icy_meta *icy)23{24INT123_clear_icy(icy);25INT123_init_icy(icy);26}27/*void set_icy(struct icy_meta *icy, char* new_data)28{29if(icy->data) free(icy->data);30icy->data = new_data;31icy->changed = 1;32}*/333435