proc_encode_coding_system should be p->outfd (not `channel' which is p->infd).
Attach a file by drag & drop or click to upload