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.
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/flac-dev
