comparison src/libid3tag/tag.c @ 2532:9e135bfe457d trunk

[svn] - include stdio.h for debug print out. - suppress warnings.
author yaz
date Fri, 16 Feb 2007 04:21:17 -0800
parents 10692383c103
children 936c777ad998
comparison
equal deleted inserted replaced
2531:28814e6846e5 2532:9e135bfe457d
349 if (id3_field_settextencoding(&frame->fields[0], 349 if (id3_field_settextencoding(&frame->fields[0],
350 ID3_FIELD_TEXTENCODING_ISO_8859_1) == -1) 350 ID3_FIELD_TEXTENCODING_ISO_8859_1) == -1)
351 goto fail; 351 goto fail;
352 352
353 if (text) 353 if (text)
354 id3_latin1_decode(text, ucs4); 354 id3_latin1_decode((id3_latin1_t *)text, ucs4);
355 else 355 else
356 id3_ucs4_putnumber(ucs4, number); 356 id3_ucs4_putnumber(ucs4, number);
357 357
358 if (strcmp(id, ID3_FRAME_COMMENT) == 0) { 358 if (strcmp(id, ID3_FRAME_COMMENT) == 0) {
359 if (id3_field_setlanguage(&frame->fields[1], "XXX") == -1 || 359 if (id3_field_setlanguage(&frame->fields[1], "XXX") == -1 ||