In response to a PM from utgg, I need to remove this line from main.c
Code: -------------------- diff --git a/frontend/main.c b/frontend/main.c index d04316a..c165cc9 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -492,7 +492,6 @@ static int decodeAACfile(char *aacfile, char *sndfile, char *adts_fn, int to_std } } - retval = fseek(b.infile, 0, SEEK_END); #ifdef _WIN32 if (0 == strcmp(aacfile, "-")) { retval = -1; -------------------- Do this look correct now to those in the know? Code: -------------------- 476 477 if (0 == strcmp(aacfile, "-")) 478 { 479 b.infile = stdin; 480 #ifdef _WIN32 481 setmode(fileno(stdin), O_BINARY); 482 #endif 483 484 } else 485 { 486 b.infile = fopen(aacfile, "rb"); 487 if (b.infile == NULL) 488 { 489 /* unable to open file */ 490 faad_fprintf(stderr, "Error opening file: %s\n", aacfile); 491 return 1; 492 } 493 } 494 495 #ifdef _WIN32 496 if (0 == strcmp(aacfile, "-")) { 497 retval = -1; 498 } else { 499 retval = fseek(b.infile, 0, SEEK_END); 500 } 501 #else 502 retval = fseek(b.infile, 0, SEEK_END); 503 #endif 504 if (retval ) 505 { 506 faad_fprintf(stderr, "Input not seekable %s\n", aacfile); 507 fileread = -1; 508 streaminput = 1; 509 } else { 510 fileread = ftell(b.infile); 511 fseek(b.infile, 0, SEEK_SET); 512 }; -------------------- I'll respin the faad binaries once confirmed. Thanks, Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=107110 _______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter