X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.c;h=c82d17fd19acc5c1484d883b4021a59d4718c599;hp=863224220d82360cc1d8fe5b0d262385cbf62a29;hb=66242aba3fe1663229f7e7c80b25b96b9930ca1b;hpb=0c4e55bbaa21f24f66e57a555341924840850c71 diff --git a/afh.c b/afh.c index 86322422..c82d17fd 100644 --- a/afh.c +++ b/afh.c @@ -112,6 +112,8 @@ static int cat_file(void *audio_file_data, struct afh_info *afhi) return ret; } } + if (!size) + continue; PARA_INFO_LOG("writing chunk %lu\n", i); ret = write_all(STDOUT_FILENO, buf, &size); if (ret < 0)