Owen Smith wrote: > That's the same general area of code for sure, to do with "-" being the > input file on Windows and seeking on it. What I can't say is whether > that's the same fix that utgg did two years ago since I never saw the > source code of the original fix.
I showed the source fix in this post: http://forums.slimdevices.com/showthread.php?53229-Announce-BBCiPlayer-Plugin-(UK-only)&p=813434&viewfull=1#post813434. That doesn't look to have translated quite correctly in Ralph's repository, if I'm reading the diffs there correctly - he looks to have been a bit more conservative and not changed the non-windows version at all. But the initial "retval = fseek(b.infile, 0, SEEK_END);" line before the "#ifdef _WIN32" should have been removed: Code: -------------------- - retval = fseek(b.infile, 0, SEEK_END); #ifdef _WIN32 if (0 == strcmp(aacfile, "-")) { - retval = -1; + retval = -1; + } else { + retval = fseek(b.infile, 0, SEEK_END); } +#else + retval = fseek(b.infile, 0, SEEK_END); #endif if (retval ) { -------------------- If I'm not mistaken... ------------------------------------------------------------------------ utgg's Profile: http://forums.slimdevices.com/member.php?userid=40900 View this thread: http://forums.slimdevices.com/showthread.php?t=107110 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
