--- Kevin Kleinfelter <[EMAIL PROTECTED]> wrote: > I'm embedding flac in a Samba VFS application. flac gets called to > decompress files, which Samba serves up to the client as WAV files. > Every > time a Windows client browses a folder, it opens music files to read > the > header, and then it closes them without reading the entire file. I'm > > accessing flac via popen/pclose. > > Each time I close the pipe to flac 'prematurely' (i.e. before flac > has > decoded the entire file) it issues "ERROR while decoding data" > because > FLAC__file_decoder_process_until_end_of_file returns an error > indication. > > As a quick hack, I added a check for errno == EPIPE in decode.c. > This > solves *my* immediate problem. > > I propose that, when output is to stdout, > FLAC__file_decoder_process_until_end_of_file should not return an > error > indication on a broken output pipe, because pipes get broken all the > time.
OK, I finally got around to fixing this. it's in CVS now; let me know after the next release if it's still broken. Josh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-dev
