comparison src/madplug/input.c @ 784:5ddfe9eac8ee trunk

[svn] - fix read_replaygain(). necessary fseek was missing in reuse fd code. closes #843. - minor cleanups.
author yaz
date Tue, 06 Mar 2007 01:12:16 -0800
parents 83a38bcfe7c8
children 2461b711162b
comparison
equal deleted inserted replaced
783:83a38bcfe7c8 784:5ddfe9eac8ee
434 434
435 info->title = xmms_get_titlestring(audmad_config.title_override == TRUE ? 435 info->title = xmms_get_titlestring(audmad_config.title_override == TRUE ?
436 audmad_config.id3_format : xmms_get_gentitle_format(), title_input); 436 audmad_config.id3_format : xmms_get_gentitle_format(), title_input);
437 437
438 // for connection via proxy, we have to stop transfer once. I can't explain the reason. 438 // for connection via proxy, we have to stop transfer once. I can't explain the reason.
439 vfs_fseek(info->infile, -1, SEEK_SET); // impossible request 439 vfs_fseek(info->infile, -1, SEEK_SET); // an impossible request
440 vfs_fseek(info->infile, curpos, SEEK_SET); 440 vfs_fseek(info->infile, curpos, SEEK_SET);
441 441
442 #ifdef DEBUG 442 #ifdef DEBUG
443 g_message("e: input_read_tag"); 443 g_message("e: input_read_tag");
444 #endif 444 #endif