cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0